InputData

class in Doozy.Engine.UI.Input

Description

The InputData class is data container for individual component input settings. It is mostly used by the BackButton, the UIButton and the UIToggle components.

Public Variables

  • public bool EnableAlternateInputs – The enables the check for alternate inputs for the target component. If the ~InputMod~e is set to None, this option does nothing. If the InputMode is set to KeyCode, this option enables the setting for an alternate button (KeyCode) to register a click/touch. If the InputMode is set to VirtualButton, this option enabled the setting for an alternate virtual button (button name set in the InputManager) to register a click/touch.

  • public InputMode InputMode – The controller input mode. If set to InputMode.None, the target component will react only to mouse clicks and touches

  • public KeyCode KeyCode – The on click key code

  • public KeyCode KeyCodeAlt – The on click key code alternate

  • public string VirtualButtonName – The on click virtual button name (set int the InputManager)

  • public string VirtualButtonNameAlt – The on click virtual button name alternate (set in the InputManager)

Constructors

  • public InputData() – Initializes a new instance of the class

Public Methods

  • public void Reset() – Resets this instance to the default values