Class SUSliderHandlerData
Inheritance
SUSliderHandlerData
Assembly: cs.temp.dll.dll
Syntax
public class SUSliderHandlerData
Methods
AddGreaterThanCheck(Single)
Declaration
public void AddGreaterThanCheck(float valueToCheck)
Parameters
Type |
Name |
Description |
Single |
valueToCheck |
|
AddLowerThanCheck(Single)
Declaration
public void AddLowerThanCheck(float valueToCheck)
Parameters
Type |
Name |
Description |
Single |
valueToCheck |
|
AddSlider(Slider, Boolean)
Declaration
public void AddSlider(Slider canvasSlider, bool isOverallVolume = false)
Parameters
Type |
Name |
Description |
Slider |
canvasSlider |
|
Boolean |
isOverallVolume |
|
AddSlider(SUElementData, SUElement.DictEvents)
Declaration
public void AddSlider(SUElementData data, SUElement.DictEvents events)
Parameters
ResetSlider()
Declaration
public void ResetSlider()
Events
OnChanged
Declaration
public event Action<float> OnChanged
Event Type
OnGreaterThan
Event triggered when the slider value is greater than a "chosen" value.
The float passed is the "chosen" value
Declaration
public event Action<float> OnGreaterThan
Event Type
OnLowerThan
Event triggered when the slider value is lower than a "chosen" value.
The float passed is the "chosen" value
Declaration
public event Action<float> OnLowerThan
Event Type
OnMax
Declaration
public event Action OnMax
Event Type
OnMin
Declaration
public event Action OnMin
Event Type