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