public override void Execute(StateManager states)
 {
     states.animatorInstance.SetFloat(floatParameterName, states.movementProperties.moveAmount, 0.2f, states.deltaTime);
 }
 public override void Execute(StateManager states)
 {
     states.animatorInstance.SetBool(states.animationHashes.aiming, states.currentState.isAiming);
     states.animatorInstance.SetBool(states.animationHashes.crouching, states.currentState.isCrouching);
 }
示例#3
0
 public override bool CheckCondition(StateManager state)
 {
     return(!state.currentState.isVaulting);
 }