Ejemplo n.º 1
0
 void DeactivateSpawnedTargets()
 {
     IShootingTargetSpawnWaypointEvent[] spawnEvents = thisSpawnEvents;
     if (spawnEvents != null)
     {
         foreach (IShootingTargetSpawnWaypointEvent spawnEvent in spawnEvents)
         {
             IShootingTargetSpawnPoint spawnPoint    = spawnEvent.GetSpawnPoint();
             IShootingTarget           spawnedTarget = spawnPoint.GetSpawnedTarget();
             if (spawnedTarget != null)
             {
                 spawnedTarget.Deactivate();
             }
         }
     }
 }
 public override void FinalizeSetUp()
 {
     thisShootingTarget.Deactivate();
 }