Ejemplo n.º 1
0
 private void Start()
 {
     if (combotron == null)
     {
         combotron = GameObject.Find("ItemHolder").GetComponent <Combotron>();
     }
     if (gameplay == null)
     {
         gameplay = GameObject.Find("Canvas").GetComponent <GameplayController>();
     }
 }
Ejemplo n.º 2
0
 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();
 }