InputManager.GetButtonHeld

Method in InputManager

Declaration

public bool GetButtonHeld(InputButton button)

Description

Checks if the specified input button was held down this frame.

Parameters

buttonThe input button to read.

Returns

boolTrue if the input button was held down this frame.