Hi! I’m new in java script, i have some problems with them in Unity:
- i have an array of elements in one script:
public static var Missions = new Array(5);
Missions[1] = "TestMission";
i need to read this variable in another script, how to do it?
-
If i have GUIText, and script for this text, can i change it’s text from this script?
-
If i have GUITexture, and script for this texture, how can i change this texture from script?
-
I’m coding for android, and i need to write something like saves files in cash, how to write and read them?