Class InputManager
Inheritance
System.Object
InputManager
Assembly: JotunnLib.dll
public class InputManager : Manager
Fields
|
Improve this Doc
View Source
Declaration
public EventHandler InputRegister
Field Value
Type |
Description |
System.EventHandler |
|
Properties
|
Improve this Doc
View Source
Declaration
public static InputManager Instance { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public void RegisterButton(string name, ButtonConfig button)
Parameters
Type |
Name |
Description |
System.String |
name |
|
ButtonConfig |
button |
|
|
Improve this Doc
View Source
Declaration
public void RegisterButton(string name, KeyCode key, float repeatDelay = 0F, float repeatInterval = 0F)
Parameters
Type |
Name |
Description |
System.String |
name |
|
KeyCode |
key |
|
System.Single |
repeatDelay |
|
System.Single |
repeatInterval |
|
|
Improve this Doc
View Source
Declaration
public void RegisterButton(string name, string axis, bool inverted = false, float repeatDelay = 0F, float repeatInterval = 0F)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
axis |
|
System.Boolean |
inverted |
|
System.Single |
repeatDelay |
|
System.Single |
repeatInterval |
|