void Awake () { if (isLocalPlayer) { programUI = ProgramUI.Instance; } functionStack = new Stack<Vector3> (); }
// Use this for initialization void Awake () { Instance = this; canvas = this.GetComponent<Canvas> (); BuildCommandDictionary (); functionZones = new List<FunctionZone> (); FindFunctionZones (); tileSize = Screen.height / 10; playHead = transform.GetComponentInChildren<PlayHead> (); }
public ListParts (ProgramUI ui) { this.ui = ui; }
public Info (ProgramUI ui) { this.ui = ui; }
public ListCrafts (ProgramUI ui) { this.ui = ui; }
public RemoveParts (ProgramUI ui) { this.ui = ui; }
static void Main(string[] args) { ProgramUI ui = new ProgramUI(); ui.Run(); }
static void Main(string[] args) { ProgramUI program = new ProgramUI(); program.Run(); }