A class used to listen to slider events from a MMDebugMenu
More...
A class used to listen to slider events from a MMDebugMenu
◆ OnDisable()
virtual void MoreMountains.Tools.MMDebugMenuSliderEventListener.OnDisable |
( |
| ) |
|
|
virtual |
Stops listening for events
◆ OnEnable()
virtual void MoreMountains.Tools.MMDebugMenuSliderEventListener.OnEnable |
( |
| ) |
|
|
virtual |
Starts listening for events
◆ OnMMDebugMenuSliderEvent()
virtual void MoreMountains.Tools.MMDebugMenuSliderEventListener.OnMMDebugMenuSliderEvent |
( |
string |
sliderEventName, |
|
|
float |
value, |
|
|
MMDebugMenuSliderEvent.EventModes |
eventMode |
|
) |
| |
|
protectedvirtual |
When we get a slider event, we trigger an event if needed
- Parameters
-
◆ TestSetValue()
virtual void MoreMountains.Tools.MMDebugMenuSliderEventListener.TestSetValue |
( |
| ) |
|
|
protectedvirtual |
This test methods will send a set event to all sliders bound to the SliderEventName
◆ MMDValueChangedEvent
an event fired when the slider's value changes
◆ SliderEventName
string MoreMountains.Tools.MMDebugMenuSliderEventListener.SliderEventName = "SliderEventName" |
the name of the slider event to listen to
◆ TestSetValueButton
bool MoreMountains.Tools.MMDebugMenuSliderEventListener.TestSetValueButton |
◆ TestValue
float MoreMountains.Tools.MMDebugMenuSliderEventListener.TestValue = 1f |
The documentation for this class was generated from the following file: