Corgi Engine  v9.2
MoreMountains.Tools.MMDebugMenuSliderEvent Struct Reference

An event used to broadcast slider events from a MMDebugMenu More...

Public Types

enum  EventModes { EventModes.FromSlider, EventModes.SetSlider }
 

Public Member Functions

delegate void Delegate (string sliderEventName, float value, EventModes eventMode=EventModes.FromSlider)
 

Static Public Member Functions

static void Register (Delegate callback)
 
static void Unregister (Delegate callback)
 
static void Trigger (string sliderEventName, float value, EventModes eventMode=EventModes.FromSlider)
 

Detailed Description

An event used to broadcast slider events from a MMDebugMenu

Member Enumeration Documentation

◆ EventModes

Enumerator
FromSlider 
SetSlider 

Member Function Documentation

◆ Delegate()

delegate void MoreMountains.Tools.MMDebugMenuSliderEvent.Delegate ( string  sliderEventName,
float  value,
EventModes  eventMode = EventModes.FromSlider 
)

◆ Register()

static void MoreMountains.Tools.MMDebugMenuSliderEvent.Register ( Delegate  callback)
static

◆ Trigger()

static void MoreMountains.Tools.MMDebugMenuSliderEvent.Trigger ( string  sliderEventName,
float  value,
EventModes  eventMode = EventModes.FromSlider 
)
static

◆ Unregister()

static void MoreMountains.Tools.MMDebugMenuSliderEvent.Unregister ( Delegate  callback)
static

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