var guistyarr_guisty : GUIStyle[];
guistyarr_guisty = new GUIStyle[1];
guistyarr_guisty[0].name = "test";
This does not work and gives the following error message:
NullReferenceException: Object reference not set to an instance of an object
How do I assign values to a GUIStyle array?
Thanks.