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