Пример #1
0
 public void GetAxis()
 {
     AxisOnChange.Invoke(Input.GetAxis(AxisManager.HORIZONTAL));
 }
Пример #2
0
 public void GetAxis()
 {
     AxisOnChange.Invoke(Input.GetAxis(AxisManager.VERTICAL));
 }
Пример #3
0
 public void GetAxis()
 {
     // AxisOnChange.Invoke(Input.GetAxis(StringManager.AXIS_VERTICAL));
     AxisOnChange.Invoke(UltimateJoystick.GetVerticalAxis(StringManager.ULTIMATE_JOYSTICK_MOVENMENT));
     // Debug.Log($"MobileInputVertic:{UltimateJoystick.GetVerticalAxis(StringManager.ULTIMATE_JOYSTICK_MOVENMENT)}");
 }
Пример #4
0
 public void GetAxis()
 {
     AxisOnChange.Invoke(Input.GetButtonDown(AxisManager.FIRE1));
 }
Пример #5
0
 public void GetAxis()
 {
     // AxisOnChange.Invoke(Input.GetAxis(StringManager.AXIS_HORIZONTAL));
     AxisOnChange.Invoke(UltimateJoystick.GetHorizontalAxis(StringManager.ULTIMATE_JOYSTICK_MOVENMENT));
     // Debug.Log($"MobileInputHoriz:{UltimateJoystick.GetHorizontalAxis(StringManager.ULTIMATE_JOYSTICK_MOVENMENT)}");
 }
Пример #6
0
 public void GetAxisOnChanged(float deltaTime)
 {
     AxisOnChange.Invoke(Input.GetAxis(InputManager.HORIZONTAL_AXIS), Input.GetAxis(InputManager.VERTICAL_AXIS), deltaTime);
 }