Am I missing something here?
// var GUIStyle
var guistyTes : GUIStyle;
var guistyBut : GUIStyle[];
guistyBut = new GUIStyle[41];
// Works
guistyTes.name = "Test1";
// Does not work
// NullReferenceException:
// Object reference not set to an instance of an object
guistyBut[1].name = "Test2";
Tried labeling as PRIVATE but still fails.
Thanks.