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);
 }
示例#5
0
 public override void OnEnter(PlayerStateMachine stateMachine, Animator animator, CharacterMovementController playerController)
 {
     animator.SetBool(AnimPlayerParameters.DUCKING, true);
 }
 public DoubleJumpingState(PlayerStateMachine player) : base(player)
 {
 }
示例#7
0
 public GrabbingLedgeState(PlayerStateMachine shared)
     : base(shared)
 {
 }
示例#8
0
 public override void OnEnter(PlayerStateMachine stateMachine, Animator animator, CharacterMovementController playerController)
 {
     animationHasStopped = false;
 }
示例#9
0
 public override void OnAnimEvent(PlayerStateMachine stateMachine, string parameter)
 {
     animationHasStopped = true;
 }
示例#10
0
 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);
 }