Highroad Engine v1.3
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
MoreMountains.Tools.MMDebugMenuSliderEventListener Class Reference

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

Inheritance diagram for MoreMountains.Tools.MMDebugMenuSliderEventListener:

Public Member Functions

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

Public Attributes

string SliderEventName = "SliderEventName"
 the name of the slider event to listen to More...
 
MMDSliderValueChangedEvent MMDValueChangedEvent
 an event fired when the slider's value changes More...
 
float TestValue = 1f
 
bool TestSetValueButton
 

Protected Member Functions

virtual void TestSetValue ()
 This test methods will send a set event to all sliders bound to the SliderEventName More...
 
virtual void OnMMDebugMenuSliderEvent (string sliderEventName, float value, MMDebugMenuSliderEvent.EventModes eventMode)
 When we get a slider event, we trigger an event if needed More...
 

Detailed Description

A class used to listen to slider events from a MMDebugMenu

Member Function Documentation

◆ 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
sliderEventName
value

◆ TestSetValue()

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

This test methods will send a set event to all sliders bound to the SliderEventName

Member Data Documentation

◆ MMDValueChangedEvent

MMDSliderValueChangedEvent MoreMountains.Tools.MMDebugMenuSliderEventListener.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: