VGDC 2025-2026 Club Game
Loading...
Searching...
No Matches
InputManager Class Reference

Singleton that owns the PlayerControls asset and surfaces the current input state each frame. More...

Inheritance diagram for InputManager:
Collaboration diagram for InputManager:

Public Member Functions

bool PopPushInputRecieved ()

Static Public Attributes

static InputManager Instance

Properties

Vector2 movementInput [get]
bool jumpHeldDownInput [get]
bool jumpPressedThisFrame [get]
bool pullHeldDownInput [get]
bool didPlayerRotateFoward [get]
bool didPlayerRotateBackwards [get]

Events

static Action OnMove
 Raised continuously while Move input is active.
static Action OnJump
 Raised on jump press (performed).
static Action OnInteract
 Raised when the player clicks the interact key.
static Action OnPause

Detailed Description

Singleton that owns the PlayerControls asset and surfaces the current input state each frame.

Member Function Documentation

◆ PopPushInputRecieved()

bool InputManager.PopPushInputRecieved ( )
inline

Field Documentation

◆ Instance

InputManager InputManager.Instance
static

Property Documentation

◆ didPlayerRotateBackwards

bool InputManager.didPlayerRotateBackwards
get

◆ didPlayerRotateFoward

bool InputManager.didPlayerRotateFoward
get

◆ jumpHeldDownInput

bool InputManager.jumpHeldDownInput
get

◆ jumpPressedThisFrame

bool InputManager.jumpPressedThisFrame
get

◆ movementInput

Vector2 InputManager.movementInput
get

◆ pullHeldDownInput

bool InputManager.pullHeldDownInput
get

Event Documentation

◆ OnInteract

Action InputManager.OnInteract
static

Raised when the player clicks the interact key.

◆ OnJump

Action InputManager.OnJump
static

Raised on jump press (performed).

◆ OnMove

Action InputManager.OnMove
static

Raised continuously while Move input is active.

◆ OnPause

Action InputManager.OnPause
static

The documentation for this class was generated from the following file: