예제 #1
0
 public static SequenceNode Repeat(this SequenceNode sequence, int times, float interval, Action action, Func <bool> condition = null)
 {
     sequence.Append(times, interval, action, condition);
     return(sequence);
 }
예제 #2
0
 public static SequenceNode Until(this SequenceNode sequence, Func <bool> condition)
 {
     sequence.Append(condition);
     return(sequence);
 }
예제 #3
0
 public static SequenceNode Event(this SequenceNode sequence, Action action)
 {
     sequence.Append(action);
     return(sequence);
 }
예제 #4
0
 public static SequenceNode Delay(this SequenceNode sequence, float delay)
 {
     sequence.Append(delay);
     return(sequence);
 }