/** * Sets up for using the next group of enemies - uses the group info to select the enemy * prefab to use for object creation & other info like # enemies in group. */ private void setUpEnemyGroupInfo() { enemyGroupInfo = waveInfo.getEnemyGroup (enemyGroupNum); enemyCounterForGroup = 0; string enemyTypeName = enemyGroupInfo.getEnemyTypeName (); curEnemyGameObject = enemyDict[enemyTypeName]; }
/** * Sets up for using the next group of enemies - uses the group info to select the enemy * prefab to use for object creation & other info like # enemies in group. */ private void setUpEnemyGroupInfo() { enemyGroupInfo = waveInfo.getEnemyGroup(enemyGroupNum); enemyCounterForGroup = 0; string enemyTypeName = enemyGroupInfo.getEnemyTypeName(); curEnemyGameObject = enemyDict[enemyTypeName]; }