Пример #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);
 }