public Coroutine(IEnumerator routine, Behavior parent) { _routine = routine; _parent = parent; _started = false; if ( _routine != null ) { _running = true; } else { _running = false; } }
public void RemoveBehavior(Behavior behavior) { behaviors.Remove(behavior); }
public void RemoveBehavior( Behavior behavior ) { behaviors.Remove( behavior ); }
public void AddBehavior(Behavior behavior) { behaviors.Add(behavior); }
public void AddBehavior( Behavior behavior ) { behaviors.Add( behavior ); }