GameInputManager.WaitForElement Method

Returns the GameInputElement the user pressed. Waits for an element to change on any input device.

Syntax

GameInputManager.WaitForElement timeout


Parameters

timeout

Single


Timeout is in seconds.