PlatformControllerInput

TOCK by NullSave\Input Cog\Scripts\Support\PlatformControllerInput.cs

Creation: Tools -> NullSave Input -> New Platform Controller Input

Description

Represents an actual physical input on a controller. These inputs can be assigned to actions allowing you to swap controller at runtime.

Properties

Input Source InputSourceTypes determining what type of input (Button, Project Axes, etc).
Input Pattern Used to look-up the value in the Project Axes. (Not shown for Keyboard Key)
Invert on Desktop When true value will be inverted on desktops. (Only shown for axis types)
Invert on Platform >When true value will be inverted on consoles. (Only shown for axis types)
Key KeyCode to use. (Only shown for Keyboard Key)
Trigger AnyKey This value input will not be check on the AnyKey method unless this value is checked.
Sprite Color Color to apply to sprite.
Background Color. Color to apply to background image.
Sprite Small Image to return when ActionUISize.Small requested.
Sprite Medium Image to return when ActionUISize.Medium requested
Sprite Large Image to return when ActionUISize.Large requested
Background Small Image to return when ActionUISize.Small requested.
Background Medium Image to return when ActionUISize.Medium requested
Background Large Image to return when ActionUISize.Large requested
UI Text Text to place over sprite.