Class GameUtilities.Input
- Namespace
- VoxelPlayground.Utility
- Assembly
- GamePlay.dll
public static class GameUtilities.Input
- Inheritance
-
object
GameUtilities.Input
Methods
public static Vector2 GetAxisHorizontalVertical()
Returns
- Vector2
public static float GetGrip(bool isLeft)
Parameters
isLeft bool
Returns
- float
public static Vector2 GetMouseMovement()
Returns
- Vector2
public static Vector3 GetMovementWASDQE()
Returns
- Vector3
public static Vector2 GetThumbstick(bool isLeft)
Parameters
isLeft bool
Returns
- Vector2
public static float GetTrigger(bool isLeft)
Parameters
isLeft bool
Returns
- float
public static Vector2 GetWASD()
Returns
- Vector2
public static bool IsGripJustPressed(bool isLeft)
Parameters
isLeft bool
Returns
- bool
public static bool IsGripJustReleased(bool isLeft)
Parameters
isLeft bool
Returns
- bool
public static bool IsThumbstickJustPressed(bool isLeft)
Parameters
isLeft bool
Returns
- bool
public static bool IsThumbstickPressed(bool isLeft)
Parameters
isLeft bool
Returns
- bool
public static bool IsTriggerJustPressed(bool isLeft)
Parameters
isLeft bool
Returns
- bool
public static bool IsTriggerJustReleased(bool isLeft)
Parameters
isLeft bool
Returns
- bool