Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMDebugMenuButtonEventListener Class Reference

A class used to listen to button events from a MMDebugMenu More...

Inheritance diagram for MoreMountains.Tools.MMDebugMenuButtonEventListener:

Public Member Functions

virtual void OnEnable ()
 Starts listening for events More...
 
virtual void OnDisable ()
 Stops listening for events More...
 

Public Attributes

string ButtonEventName = "Button"
 the name of the event to listen to More...
 
MMDButtonPressedEvent MMDEvent
 an event to fire when the event is heard More...
 
bool TestValue = true
 
bool TestSetValueButton
 

Protected Member Functions

virtual void TestSetValue ()
 This test methods will send a set event to all buttons bound to the ButtonEventName More...
 
virtual void OnMMDebugMenuButtonEvent (string buttonEventName, bool value, MMDebugMenuButtonEvent.EventModes eventMode)
 When we get a menu button event, we invoke More...
 

Detailed Description

A class used to listen to button events from a MMDebugMenu

Member Function Documentation

◆ 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
buttonEventName

◆ TestSetValue()

virtual void MoreMountains.Tools.MMDebugMenuButtonEventListener.TestSetValue ( )
protectedvirtual

This test methods will send a set event to all buttons bound to the ButtonEventName

Member Data Documentation

◆ ButtonEventName

string MoreMountains.Tools.MMDebugMenuButtonEventListener.ButtonEventName = "Button"

the name of the event to listen to

◆ MMDEvent

MMDButtonPressedEvent MoreMountains.Tools.MMDebugMenuButtonEventListener.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: