Class SSliderOptions
Inheritance
SSliderOptions
Namespace: SUI
Assembly: SonsSdk.dll
Syntax
public class SSliderOptions : SUiElement<SSliderOptions, float>
Constructors
SSliderOptions(GameObject)
Declaration
public SSliderOptions(GameObject root)
Parameters
Type |
Name |
Description |
GameObject |
root |
|
Fields
SliderObject
Declaration
public SonsSlider SliderObject
Field Value
Type |
Description |
SonsSlider |
|
Methods
Background(EBackground)
Declaration
public SSliderOptions Background(EBackground background)
Parameters
Returns
Background(bool)
Declaration
public SSliderOptions Background(bool hasBackground)
Parameters
Type |
Name |
Description |
bool |
hasBackground |
|
Returns
Background(Sprite)
Declaration
public SSliderOptions Background(Sprite sprite)
Parameters
Type |
Name |
Description |
Sprite |
sprite |
|
Returns
Declaration
public SSliderOptions Format(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Returns
Declaration
public SSliderOptions InputFlexWidth(float width)
Parameters
Type |
Name |
Description |
float |
width |
|
Returns
IntStep()
Declaration
public SSliderOptions IntStep()
Returns
LabelWidth(float)
Declaration
public SSliderOptions LabelWidth(float width)
Parameters
Type |
Name |
Description |
float |
width |
|
Returns
Max(float)
Declaration
public SSliderOptions Max(float max)
Parameters
Type |
Name |
Description |
float |
max |
|
Returns
Min(float)
Declaration
public SSliderOptions Min(float min)
Parameters
Type |
Name |
Description |
float |
min |
|
Returns
Notify(Action<float>)
Declaration
public SSliderOptions Notify(Action<float> action)
Parameters
Returns
OnObservaleChanged(float)
Declaration
protected override void OnObservaleChanged(float value)
Parameters
Type |
Name |
Description |
float |
value |
|
Overrides
Options(VisibilityMask)
Declaration
public SSliderOptions Options(SSliderOptions.VisibilityMask mask)
Parameters
Returns
Range(float, float)
Declaration
public SSliderOptions Range(float min, float max)
Parameters
Returns
RegisterObservable(Observable<float>)
Declaration
protected override void RegisterObservable(Observable<float> observable)
Parameters
Overrides
Step(float)
Declaration
public SSliderOptions Step(float step)
Parameters
Type |
Name |
Description |
float |
step |
|
Returns
UnregisterObservable(Observable<float>)
Declaration
protected override void UnregisterObservable(Observable<float> observable)
Parameters
Overrides
Value(float)
Declaration
public SSliderOptions Value(float value)
Parameters
Type |
Name |
Description |
float |
value |
|
Returns