Beispiel #1
0
 public override void OnExit(CharacterState characterState, Animator animator, AnimatorStateInfo stateInfo)
 {
 }
Beispiel #2
0
 public override void OnEnter(CharacterState characterState, Animator animator, AnimatorStateInfo stateInfo)
 {
     characterState.GetCharacterControl(animator).rb.AddForce(Vector3.up * jumpForce);
     animator.SetBool(TransitionParameter.Grounded.ToString(), false);
 }