Class SOptionsOptions
Inheritance
SOptionsOptions
Namespace: SUI
Assembly: SonsSdk.dll
Syntax
public class SOptionsOptions : SUiElement<SOptionsOptions, string>
Constructors
SOptionsOptions(GameObject)
Declaration
public SOptionsOptions(GameObject root)
Parameters
Type |
Name |
Description |
GameObject |
root |
|
Fields
DropdownObject
Declaration
public SonsDropdown DropdownObject
Field Value
Type |
Description |
SonsDropdown |
|
Methods
Background(EBackground)
Declaration
public SOptionsOptions Background(EBackground background)
Parameters
Returns
Background(bool)
Declaration
public SOptionsOptions Background(bool hasBackground)
Parameters
Type |
Name |
Description |
bool |
hasBackground |
|
Returns
Background(Sprite)
Declaration
public SOptionsOptions Background(Sprite sprite)
Parameters
Type |
Name |
Description |
Sprite |
sprite |
|
Returns
HideLabel(bool)
Declaration
public SOptionsOptions HideLabel(bool hide = true)
Parameters
Type |
Name |
Description |
bool |
hide |
|
Returns
LabelWidth(float)
Declaration
public SOptionsOptions LabelWidth(float width)
Parameters
Type |
Name |
Description |
float |
width |
|
Returns
Notify(Action<int>)
Declaration
public SOptionsOptions Notify(Action<int> action)
Parameters
Returns
Notify(Action<string>)
Declaration
public SOptionsOptions Notify(Action<string> action)
Parameters
Returns
OnObservaleChanged(string)
Declaration
protected override void OnObservaleChanged(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Overrides
Options(params string[])
Declaration
public SOptionsOptions Options(params string[] options)
Parameters
Type |
Name |
Description |
string[] |
options |
|
Returns
RegisterObservable(Observable<string>)
Declaration
protected override void RegisterObservable(Observable<string> observable)
Parameters
Overrides
UnregisterObservable(Observable<string>)
Declaration
protected override void UnregisterObservable(Observable<string> observable)
Parameters
Overrides
Value(int)
Declaration
public SOptionsOptions Value(int value)
Parameters
Type |
Name |
Description |
int |
value |
|
Returns
Value(string)
Declaration
public SOptionsOptions Value(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns