A class used to listen to button events from a MMDebugMenu
More...
A class used to listen to button events from a MMDebugMenu
◆ OnDisable()
virtual void MoreMountains.Tools.MMDebugMenuButtonEventListener.OnDisable |
( |
| ) |
|
|
virtual |
Stops listening for events
◆ OnEnable()
virtual void MoreMountains.Tools.MMDebugMenuButtonEventListener.OnEnable |
( |
| ) |
|
|
virtual |
Starts listening for events
◆ OnMMDebugMenuButtonEvent()
virtual void MoreMountains.Tools.MMDebugMenuButtonEventListener.OnMMDebugMenuButtonEvent |
( |
string |
buttonEventName, |
|
|
bool |
value, |
|
|
MMDebugMenuButtonEvent.EventModes |
eventMode |
|
) |
| |
|
protectedvirtual |
When we get a menu button event, we invoke
- Parameters
-
◆ TestSetValue()
virtual void MoreMountains.Tools.MMDebugMenuButtonEventListener.TestSetValue |
( |
| ) |
|
|
protectedvirtual |
This test methods will send a set event to all buttons bound to the ButtonEventName
◆ ButtonEventName
string MoreMountains.Tools.MMDebugMenuButtonEventListener.ButtonEventName = "Button" |
the name of the event to listen to
◆ MMDEvent
an event to fire when the event is heard
◆ TestSetValueButton
bool MoreMountains.Tools.MMDebugMenuButtonEventListener.TestSetValueButton |
◆ TestValue
bool MoreMountains.Tools.MMDebugMenuButtonEventListener.TestValue = true |
The documentation for this class was generated from the following file: