public void RemoveBehaviour(ActorBehaviour actorBehaviour) { if (actorBehaviours.Contains(actorBehaviour)) { actorBehaviours.Remove(actorBehaviour); } AssignActorReferences(); actorBehaviour.TerminateBehaviour(); }