FirstModulAR 0.1.0
Loading...
Searching...
No Matches
ButtonSlider Class Reference

A custom slider that is controlled by buttons instead of dragging the handle. More...

Inheritance diagram for ButtonSlider:

Public Member Functions

void SetValueWithoutNotify (float value)
 Sets the value of the slider without triggering the onValueChanged event.
 

Public Attributes

UnityEvent< float > OnValueChanged
 Event triggered when the value of the slider changes.
 

Properties

float Value [get, set]
 The current value of the slider.
 

Detailed Description

A custom slider that is controlled by buttons instead of dragging the handle.

Member Function Documentation

◆ SetValueWithoutNotify()

void ButtonSlider.SetValueWithoutNotify ( float value)
inline

Sets the value of the slider without triggering the onValueChanged event.

Parameters
valueThe new value of the slider.

Member Data Documentation

◆ OnValueChanged

UnityEvent<float> ButtonSlider.OnValueChanged

Event triggered when the value of the slider changes.

Property Documentation

◆ Value

float ButtonSlider.Value
getset

The current value of the slider.


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