예제 #1
0
 // Use this for initialization
 void Start()
 {
     enemyParent = ParentUtils.FindEnemyParent();
     // get the list of child object
     spawnPoints = GetComponentsInChildren <SpawnPoint>();
     SpawnEnemiesRepeating();
 }
예제 #2
0
 // == private methods ==
 private void Start()
 {
     enemyParent = ParentUtils.FindEnemyParent();
     SpawnRepeating();
 }