示例#1
0
        public override void End(MovementBehaviourManager behaviourManager)
        {
            base.End(behaviourManager);

            ObjectToMove.LocalPosition = Position;
            ObjectToMove.RigidBody.FullLinearStop();
        }
示例#2
0
 public virtual void End(MovementBehaviourManager behaviourManager)
 {
     foreach (KeyValuePair <string, MovementBehaviour> pair in DependentBehaviours)
     {
         pair.Value.Completed = true;
         behaviourManager.RemoveBehaviour(pair);
     }
 }
示例#3
0
        public override void End(MovementBehaviourManager behaviourManager)
        {
            base.End(behaviourManager);

            ObjectToRotate.RigidBody.FullAngularStop();
        }