Skip to content

InputPlayer

Source: Assets/UpscaleSDK/Core/Input/Runtime/Players/InputPlayer.cs

class InputPlayer

Well-known player indices for bindings and provider reads.

Constants

public const int First = 0

The first local player. Owns the keyboard and mouse, and is the player every API defaults to.

public const int Any = -1

Every active player at once: buttons are OR-ed, axes take the strongest player's value. Meant for shared UI that any player may drive.