Click or drag to resize

InputState Fields

[This is preliminary documentation and is subject to change.]

The InputState type exposes the following members.

Fields
  NameDescription
Public fieldDevicesEnumerated
Event fired after the Devices list is first populated. Will only be fired once during the component lifetime (use DeviceStateChanged event to get updates).
Public fieldDeviceStateChanged
Event fired when the Devices list changes.
Public fieldLifetimeManagement
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.
Public fieldLogLevel
Preferred log level.
Public fieldUseFixedUpdate
Switches to using FixedUpdate to drain events and poll for updates.
Top
See Also