예제 #1
0
    public void RemoveBehaviour(ActorBehaviour actorBehaviour)
    {
        if (actorBehaviours.Contains(actorBehaviour))
        {
            actorBehaviours.Remove(actorBehaviour);
        }

        AssignActorReferences();
        actorBehaviour.TerminateBehaviour();
    }