private void Awake() { protecteeManager = GetComponentInChildren <ProtecteeManager>(); waveManager = GetComponentInChildren <WaveManager>(); enemyManager = GetComponentInChildren <EnemyManager>(); uiManager = GetComponentInChildren <UIManager>(); }
private void Awake() { protecteeManager = GetComponentInParent <ProtecteeManager>(); }