예제 #1
0
 void Update()
 {
     if (activate)
     {
         ple.Emit();
     }
     if (ple.list.Count == 0 && EnemyParent.childCount == 0)
     {
         if (CameraFix)
         {
             c4c.UnFix();
         }
         Destroy(gameObject);
     }
 }
예제 #2
0
 void FixedUpdate()
 {
     if (!Activate && Wave.list.Count == 0 && WaveObj.childCount == 0)
     {
         WaveClear();
     }
     if (Activate)
     {
         Wave.Emit();
         if (Wave.list.Count == 0)
         {
             Activate = false;
         }
     }
     TimeStrict();
 }