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

A class used to bind a button to a MMDebugMenu More...

Inheritance diagram for MoreMountains.Tools.MMDebugMenuItemButton:

Public Member Functions

virtual void TriggerButtonEvent ()
 Triggers a button event using the button's event name More...
 
virtual void OnEnable ()
 Starts listening for events More...
 
virtual void OnDestroy ()
 Stops listening for events More...
 

Public Attributes

Button TargetButton
 the associated button More...
 
Text ButtonText
 the button's text comp More...
 
Image ButtonBg
 the button's background image More...
 
string ButtonEventName = "Button"
 the name of the event bound to this button More...
 

Protected Member Functions

virtual void OnMMDebugMenuButtonEvent (string checkboxEventName, bool active, MMDebugMenuButtonEvent.EventModes eventMode)
 

Protected Attributes

bool _listening = false
 

Detailed Description

A class used to bind a button to a MMDebugMenu

Member Function Documentation

◆ OnDestroy()

virtual void MoreMountains.Tools.MMDebugMenuItemButton.OnDestroy ( )
virtual

Stops listening for events

◆ OnEnable()

virtual void MoreMountains.Tools.MMDebugMenuItemButton.OnEnable ( )
virtual

Starts listening for events

◆ OnMMDebugMenuButtonEvent()

virtual void MoreMountains.Tools.MMDebugMenuItemButton.OnMMDebugMenuButtonEvent ( string  checkboxEventName,
bool  active,
MMDebugMenuButtonEvent.EventModes  eventMode 
)
protectedvirtual

◆ TriggerButtonEvent()

virtual void MoreMountains.Tools.MMDebugMenuItemButton.TriggerButtonEvent ( )
virtual

Triggers a button event using the button's event name

Member Data Documentation

◆ _listening

bool MoreMountains.Tools.MMDebugMenuItemButton._listening = false
protected

◆ ButtonBg

Image MoreMountains.Tools.MMDebugMenuItemButton.ButtonBg

the button's background image

◆ ButtonEventName

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

the name of the event bound to this button

◆ ButtonText

Text MoreMountains.Tools.MMDebugMenuItemButton.ButtonText

the button's text comp

◆ TargetButton

Button MoreMountains.Tools.MMDebugMenuItemButton.TargetButton

the associated button


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