I’m No Class master. In the inventory topics in the forum there are a few cool ideas for creating classes and getting them into arrays. On a script for each car something like this
public var carName:String;
public var carType:String;
public var carColor:String;
public var carIcon:Texture;
var car = new caritem();
car.carObject = gameObject;
car.carNameID = carName;
car.carTypeID = carType;
car.carColorID = carColor;
car.carIconID = carIcon;
This way the class will be full of deails for each car. Once you have the car in the array you can view details from inside the array.