Beispiel #1
0
 public override void Enter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 {
     rb.velocity = Vector2.zero;
     PC.ChangeColliderSize(new Vector2(1f, 1f));
     PC.ChangeLayer2Squat();
     playeranimator.JumpRollinged = 0;
 }
Beispiel #2
0
 public override void Enter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 {
     PC.ChangeColliderSize(new Vector2(3, 3));
     PC.ChangeLayer2Squat();
     rb.velocity = Vector2.zero;
 }