Example #1
0
 public void GetInput()
 {
     JumpPress = inputListener.JumpButtonPress();
     JumpHold  = inputListener.JumpButtonHold();
     AxisH     = inputListener.SmoothAxisX();
     AxisV     = inputListener.AxisY();
     if (AxisH != 0)
     {
         facingDirection = (int)Mathf.Sign(AxisH);
     }
 }