Пример #1
0
 public float Progress(float deltaTime)
 {
     deltaTime = sequence.Progress(deltaTime);
     while (deltaTime >= 0f)
     {
         if (++index >= wave.spawnSequences.Length)
         {
             return(deltaTime);
         }
         sequence  = wave.spawnSequences[index].Begin();
         deltaTime = sequence.Progress(deltaTime);
     }
     return(-1f);
 }