Note: Using Javascript
Hi, I’ve Tried Searching For Other People That Are Having This Same Problem And Couldn’t Find Anything, So I Decided To Post This Question To See If Anyone Could Help.
Code:
var StringArray : String[] = ["Hi", "Bye"];
function OnGUI()
{
for(var i : int = 0; i < StringArray.length; i++)
{
//So I Could See If The For Loop Was Going Through And It Wasn't
Debug.Log("i Value: "+i);
GUILayout.Label(StringArray*);*
}
}
It Doesn’t Display The Label And Nothing Goes Through
Please Help, Thanks