Variables inside an element list

Hello, I want to create variables where each element can have individual properties inside of it.

I know I can create sort of a list with elements by using the brackets [ ] inside my script, to get an effect like this:

13937-capture2.jpg

However I want to get an effect like this:

13938-capture.jpg

See how each element in the second image has it’s own properties? Is there any way I can achieve this? (in JS)

Thanks in advance!

Something like this?

public class MySweetData
{
	var someBool : boolean = false;
	var someFloat : float = 0.0f;
	var someGameObject : GameObject;
}

var SweetDataArray : MySweetData[];

// Use this for initialization
function Start () 
{

}