Input

Overview

Return Value
Function

boolean

boolean

boolean

boolean

boolean

boolean

boolean

boolean

boolean

string

Functions

GetMoveActions()

ButtonAction[] GetMoveActions()

Helper function to get all the values of the ButtonAction enum that correspond to movement.

GetPressedModifier()

Keyboard? GetPressedModifier()

Helper function to get the modifier key that is being pressed in the keyboard A modifier key is defined as shift, control, alt, or Windows.

GetShootActions()

ButtonAction[] GetShootActions()

Helper function to get all the values of the ButtonAction enum that correspond to shooting.

IsActionPressedOnAnyInput()

boolean IsActionPressedOnAnyInput(ButtonAction action)

Helper function to check if a given Button Action is being pressed in any controller.

IsActionTriggeredOnAnyInput()

boolean IsActionTriggeredOnAnyInput(ButtonAction action)

Helper function to check if a given Button Action is being triggered in any controller.

IsKeyboardPressed()

boolean IsKeyboardPressed(Keyboard ...)

Helper function to see if any of the given keys are being pressed in the keyboard.

IsMoveAction()

boolean IsMoveAction(ButtonAction buttonAction)

Helper function to check if a given Button Action corresponds to movement.

IsMoveActionPressedOnAnyInput()

boolean IsMoveActionPressedOnAnyInput()

Helper function to check if a move action is being pressed in any controller.

IsMoveActionTriggeredOnAnyInput()

boolean IsMoveActionTriggeredOnAnyInput()

Helper function to check if a move action is being triggered in any controller.

IsShootAction()

boolean IsShootAction(ButtonAction buttonAction)

Helper function to check if a given Button Action corresponds to shooting.

IsShootActionPressedOnAnyInput()

boolean IsShootActionPressedOnAnyInput()

Helper function to check if a shoot action is being pressed in any controller.

IsShootActionTriggeredOnAnyInput()

boolean IsShootActionTriggeredOnAnyInput()

Helper function to check if a shoot action is being triggered in any controller.

KeyboardToString()

string KeyboardToString(Keyboard key, boolean shiftPressed)

Helper function to get the string that would be typed if someone pressed the corresponding key.

Last updated