コード例 #1
0
 private void Start()
 {
     if (combotron == null)
     {
         combotron = GameObject.Find("ItemHolder").GetComponent <Combotron>();
     }
     if (gameplay == null)
     {
         gameplay = GameObject.Find("Canvas").GetComponent <GameplayController>();
     }
 }
コード例 #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();
 }