InputState Fields |
[This is preliminary documentation and is subject to change.]
The InputState type exposes the following members.
Name | Description | |
---|---|---|
DevicesEnumerated |
Event fired after the Devices list is first populated.
Will only be fired once during the component lifetime (use DeviceStateChanged
event to get updates).
| |
DeviceStateChanged |
Event fired when the Devices list changes.
| |
LifetimeManagement |
Toggles lifetime management. If true, DontDestroyOnLoad will be called on
GameObject containing this component and extraneous instances will be automatically
destroyed. InputState must strictly outlive all device objects, so this is
necessary if you want IDevice objects to be usable after scene changes.
| |
LogLevel |
Preferred log level.
| |
UseFixedUpdate |
Switches to using FixedUpdate to drain events and poll for updates.
|