How to display array values on the editor?

Hi all, I’m trying to display my array class values inside the editor, but all the values are 0

//javascript class
class testContainer {
	//inspector values
	var myObject : Transform[]; 
	var max_Velocity : float = 3.0;
	var max_Force : float = 0.8;
	var Distance : float = 0.1;
	var RotationSpeed : float = 3.0;
}

//inspector values
var TotalObj :  testContainer[];

Now I see the TotalObj value on the editor, but when I create some values, all the parameters are 0 (velocity,etc,etc), and I need to fill the properties for each array value.
Am I doing something wrong? or is some kind of limitation working with arrays?

Cheers,

this is one of the problems i have found with unity - i have spent hours trying to get this exact thing to work, with no progress - it seems you can go in and build your own editor files and hack it to work, but have not tested this

Class entries are null until initialized.

//javascript class 
class TestContainer { 
   //inspector values 
   var myObject : Transform[]; 
   var max_Velocity : float = 3.0; 
   var max_Force : float = 0.8; 
   var distance : float = 0.1; 
   var rotationSpeed : float = 3.0; 
} 

//inspector values 
var totalObj = new TestContainer[10];
for (obj in totalObj) obj = new TestContainer();

–Eric

Thank you Eric :smile: