Class SToggleOptions
Inheritance
SToggleOptions
Namespace: SUI
Assembly: SonsSdk.dll
Syntax
public class SToggleOptions : SUiElement<SToggleOptions, bool>
Constructors
SToggleOptions(GameObject)
Declaration
public SToggleOptions(GameObject root)
Parameters
Type |
Name |
Description |
GameObject |
root |
|
Fields
ToggleObject
Declaration
public Toggle ToggleObject
Field Value
Methods
Notify(Action<bool>)
Declaration
public SToggleOptions Notify(Action<bool> action)
Parameters
Returns
OnObservaleChanged(bool)
Declaration
protected override void OnObservaleChanged(bool value)
Parameters
Type |
Name |
Description |
bool |
value |
|
Overrides
RegisterObservable(Observable<bool>)
Declaration
protected override void RegisterObservable(Observable<bool> observable)
Parameters
Overrides
UnregisterObservable(Observable<bool>)
Declaration
protected override void UnregisterObservable(Observable<bool> observable)
Parameters
Overrides
Value(bool)
Declaration
public SToggleOptions Value(bool value)
Parameters
Type |
Name |
Description |
bool |
value |
|
Returns