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); }
public static SequenceNode Until(this SequenceNode sequence, Func <bool> condition) { sequence.Append(condition); return(sequence); }
public static SequenceNode Event(this SequenceNode sequence, Action action) { sequence.Append(action); return(sequence); }
public static SequenceNode Delay(this SequenceNode sequence, float delay) { sequence.Append(delay); return(sequence); }