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