InputActionsSet¶
Source:
Assets/UpscaleSDK/Core/Input/Runtime/ActionsSet/InputActionsSet.cs
class InputActionsSet¶
Represents a input actions set class.
Properties¶
public bool IsActive¶
Gets or sets the is active.
public int Player¶
Gets the player whose input this set reads.
public static T Instance¶
Gets the set of the first player.
Methods¶
public static T For(int player)¶
Gets the set of the given player, creating its bindings on first use. InputPlayer.Any gives a set that reads every player.
Parameters
| Name | Description |
|---|---|
player |
The player index. |
protected abstract void Initialize(InputSetBuilder builder)¶
Initialize.
Parameters
| Name | Description |
|---|---|
builder |
The builder. |
public void Deactivate()¶
Deactivate.
public void Activate()¶
Activate.