예제 #1
0
        public void SetBehaviour(ActorBehaviour behaviour)
        {
            Behaviour?.Dispose();

            Behaviour = behaviour;
            Behaviour.SetActor(this);
            Behaviour.Initialize();
        }