Highroad Engine v1.3
Public Member Functions | Public Attributes | List of all members
MoreMountains.Tools.MMInputExecutionBinding Class Reference

A class used to store MMInputExecution bindings, associating a target keycode to UnityEvents More...

Public Member Functions

virtual void ProcessInput ()
 Checks for input and invokes events if needed More...
 

Public Attributes

KeyCode TargetKey = KeyCode.Space
 the key the user needs to press to trigger events More...
 
UnityEvent OnKeyDown
 the event to trigger when the key is pressed down More...
 
UnityEvent OnKey
 the event to trigger every frame if the key is being pressed More...
 
UnityEvent OnKeyUp
 the event to trigger when the key is released More...
 

Detailed Description

A class used to store MMInputExecution bindings, associating a target keycode to UnityEvents

Member Function Documentation

◆ ProcessInput()

virtual void MoreMountains.Tools.MMInputExecutionBinding.ProcessInput ( )
virtual

Checks for input and invokes events if needed

Member Data Documentation

◆ OnKey

UnityEvent MoreMountains.Tools.MMInputExecutionBinding.OnKey

the event to trigger every frame if the key is being pressed

◆ OnKeyDown

UnityEvent MoreMountains.Tools.MMInputExecutionBinding.OnKeyDown

the event to trigger when the key is pressed down

◆ OnKeyUp

UnityEvent MoreMountains.Tools.MMInputExecutionBinding.OnKeyUp

the event to trigger when the key is released

◆ TargetKey

KeyCode MoreMountains.Tools.MMInputExecutionBinding.TargetKey = KeyCode.Space

the key the user needs to press to trigger events


The documentation for this class was generated from the following file: