public Coroutine(IEnumerator enumerator, Behaviour behaviour) { this.enumerator = enumerator; this.behaviour = behaviour; }
public static void Remove(Behaviour b) { behavioursDelQueue.Add(b); Coroutine.StopCoroutineOn(b); }