Feel  3.16
The best way to improve your game's feel and make it extra juicy
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: