private void Start() { if (combotron == null) { combotron = GameObject.Find("ItemHolder").GetComponent <Combotron>(); } if (gameplay == null) { gameplay = GameObject.Find("Canvas").GetComponent <GameplayController>(); } }
public void Start() { gridParent = this.transform; if (combotron == null) { combotron = GameObject.Find("ItemHolder").GetComponent <Combotron>(); } if (gameplay == null) { gameplay = GameObject.Find("Canvas").GetComponent <GameplayController>(); } this.InitGrid(); }