A very simple input manager to handle the demo character's input and make it move
More...
A very simple input manager to handle the demo character's input and make it move
◆ HandleDemoCharacterInput()
virtual void MoreMountains.InventoryEngine.DemoCharacterInputManager.HandleDemoCharacterInput |
( |
| ) |
|
|
protectedvirtual |
Handles the demo character movement input.
◆ OnDisable()
virtual void MoreMountains.InventoryEngine.DemoCharacterInputManager.OnDisable |
( |
| ) |
|
|
protectedvirtual |
On Disable, we stop listening for MMInventoryEvents
◆ OnEnable()
virtual void MoreMountains.InventoryEngine.DemoCharacterInputManager.OnEnable |
( |
| ) |
|
|
protectedvirtual |
On Enable, we start listening for MMInventoryEvents
◆ OnMMEvent()
virtual void MoreMountains.InventoryEngine.DemoCharacterInputManager.OnMMEvent |
( |
MMInventoryEvent |
inventoryEvent | ) |
|
|
virtual |
Catches MMInventoryEvents to detect pauses
- Parameters
-
◆ Update()
virtual void MoreMountains.InventoryEngine.DemoCharacterInputManager.Update |
( |
| ) |
|
|
protectedvirtual |
Every frame, we check for input for the inventory, the hotbars and the character
◆ _pause
bool MoreMountains.InventoryEngine.DemoCharacterInputManager._pause = false |
|
protected |
◆ DemoCharacter
The character that'll move through the level.
◆ DownKey
KeyCode MoreMountains.InventoryEngine.DemoCharacterInputManager.DownKey = KeyCode.DownArrow |
◆ DownKeyAlt
KeyCode MoreMountains.InventoryEngine.DemoCharacterInputManager.DownKeyAlt = KeyCode.None |
◆ LeftKey
KeyCode MoreMountains.InventoryEngine.DemoCharacterInputManager.LeftKey = KeyCode.LeftArrow |
◆ LeftKeyAlt
KeyCode MoreMountains.InventoryEngine.DemoCharacterInputManager.LeftKeyAlt = KeyCode.None |
◆ RightKey
KeyCode MoreMountains.InventoryEngine.DemoCharacterInputManager.RightKey = KeyCode.RightArrow |
◆ RightKeyAlt
KeyCode MoreMountains.InventoryEngine.DemoCharacterInputManager.RightKeyAlt = KeyCode.None |
◆ UpKey
KeyCode MoreMountains.InventoryEngine.DemoCharacterInputManager.UpKey = KeyCode.UpArrow |
◆ UpKeyAlt
KeyCode MoreMountains.InventoryEngine.DemoCharacterInputManager.UpKeyAlt = KeyCode.None |
◆ VerticalAxisName
string MoreMountains.InventoryEngine.DemoCharacterInputManager.VerticalAxisName = "Vertical" |
The documentation for this class was generated from the following file: