Exemplo n.º 1
0
        public override void ActionPerformed(CharacterActorControllerComponent.CharacterActorControllerAction action)
        {
            if (action is JumpControllerComponent.JumpAction && null != ClimbingComponent)
            {
                ClimbingComponent.StopClimbing();
            }

            base.ActionPerformed(action);
        }
Exemplo n.º 2
0
 public virtual void ActionCancelled(CharacterActorControllerComponent.CharacterActorControllerAction action)
 {
     RunOnComponents(c => c.OnCancelled(action));
 }