Class InputManager
Manager for handling custom inputs registered by mods.
Inheritance
System.Object
InputManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Managers
Assembly: Jotunn.dll
Syntax
public class InputManager : IManager
Properties
| Improve this Doc View SourceInstance
Singleton instance
Declaration
public static InputManager Instance { get; }
Property Value
Type | Description |
---|---|
InputManager |
Methods
| Improve this Doc View SourceAddButton(String, ButtonConfig)
Add a Button to Valheim
Declaration
public void AddButton(string modGuid, ButtonConfig buttonConfig)
Parameters
Type | Name | Description |
---|---|---|
System.String | modGuid | Mod GUID |
ButtonConfig | buttonConfig | Button config |
Init()
Initialize the manager
Declaration
public void Init()