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