public override void OnExit(PlayerStateMachine stateMachine, Animator animator, CharacterMovementController playerController) { animator.SetBool(AnimPlayerParameters.RUNNING, false); }
public override void OnAnimEvent(PlayerStateMachine stateMachine, string parameter) { stateMachine.InstantiateEffect(dustEffect); }
public override void OnExit(PlayerStateMachine stateMachine, Animator animator, CharacterMovementController playerController) { animator.SetBool(AnimPlayerParameters.JUMP_START_IDLE, false); ResetStateAir(); }
public override void OnEnter(PlayerStateMachine stateMachine, Animator animator, CharacterMovementController playerController) { animator.SetBool(AnimPlayerParameters.JUMP_START_IDLE, true); MoveXAirborne(stateMachine, playerController); }
public override void OnEnter(PlayerStateMachine stateMachine, Animator animator, CharacterMovementController playerController) { animator.SetBool(AnimPlayerParameters.DUCKING, true); }
public DoubleJumpingState(PlayerStateMachine player) : base(player) { }
public GrabbingLedgeState(PlayerStateMachine shared) : base(shared) { }
public override void OnEnter(PlayerStateMachine stateMachine, Animator animator, CharacterMovementController playerController) { animationHasStopped = false; }
public override void OnAnimEvent(PlayerStateMachine stateMachine, string parameter) { animationHasStopped = true; }
public override void OnExit(PlayerStateMachine stateMachine, Animator animator, CharacterMovementController playerController) { }
public override void OnEnter(PlayerStateMachine stateMachine, Animator animator, CharacterMovementController playerController) { animator.SetBool(AnimPlayerParameters.PRE_JUMP_RUNNING, true); jumpTimerStart = Time.time; MoveXGrounded(stateMachine, playerController, moveFactorGrounded); }