예제 #1
0
 /// <summary>
 /// Starts a sequence of events.
 /// </summary>
 /// <param name="inSequence">The sequence to run.</param>
 /// <param name="inTimesToRun">Number of times to run the sequence.</param>
 static public CoroutineHandle StartSequence(this MonoBehaviour inBehavior, SequenceBuilder inSequence)
 {
     Assert.True(inBehavior != null, "Host is not null.");
     Assert.True(inSequence != null, "Sequence is not null.");
     return(inBehavior.SmartCoroutine(inSequence.Run()));
 }
예제 #2
0
 public ClearSequenceBuilderWrapper(SequenceBuilder inBuilder)
 {
     m_Parent = inBuilder;
 }