Пример #1
0
 void FixedUpdate()
 {
     if (touchingGround)
     {
         psm.BecomeGrounded(groundNormal);
     }
     else if (!touchingGround && psm.Grounded)
     {
         psm.BecomeAirborne();
     }
 }