Esempio n. 1
0
 void Start()
 {
     infoBoard = GameObject.FindWithTag("InfoBoard").GetComponent <InfoBoard>();
     egHub     = GameObject.FindWithTag("EnemyGeneratorHub").GetComponent <EnemyGeneratorHub>();
 }
Esempio n. 2
0
 private void Start()
 {
     hub  = GameObject.FindWithTag("EnemyGeneratorHub").GetComponent <EnemyGeneratorHub>();
     gate = GetComponentInChildren <Gate>();
 }