示例#1
0
 public override void Tick()
 {
     if (sequenceInterpreter != null)
     {
         sequenceInterpreter.Tick();
         if (sequenceInterpreter.SequenceFinished)
         {
             Debug.Log("Sequence finished");
             this.sequenceInterpreter = null;
         }
     }
 }
示例#2
0
 void Update()
 {
     if (localExecution && interpreter != null)
     {
         interpreter.Tick();
         if (interpreter.SequenceFinished)
         {
             interpreter = null;
             if (loop)
             {
                 Launch();
             }
         }
     }
 }