Пример #1
0
 public void SequenceTime(int count)
 {
     GenerateSequence(count);
     inputSequenceScript.ReplaceBugSequence(sequence);
     inputSequenceScript.playerSequence.Clear();
     isAnimationSequence = true;
     endInputTime        = Time.time + inputAnimationDuration;
 }
Пример #2
0
 void SetFirstBugSequence()
 {
     if (bugs.Count > 0)
     {
         BugScript bugScript = bugs [0].GetComponent <BugScript> ();
         bugInputSequence.ReplaceBugSequence(bugScript.sequence);
     }
     else
     {
         bugInputSequence.bugSequence = new List <BUG_DIRECTION> ();
     }
 }