![]() |
CustomAssets
Askowl Custom Assets
|
Float CustomAsset contains a float value which can be connected directly to OnValueChange callbacks in UI slider and scrollbar components. Connect it to event listeners to interact with components such as Animation, Text or Unity. Or add listeners to your own classes with Register(this) More...
Public Member Functions | |
override void | Set (float toValue) |
More... | |
![]() | |
override string | ToString () |
Pass string conversion responsibility from the custom asset to the containing value More... | |
virtual void | Set (T toValue) |
For safe(ish) access to the contents field More... | |
override int | GetHashCode () |
More... | |
override bool | Equals (object other) |
Part of the group of Equals functions. Passes responsibility to the containing data More... | |
void | Load () |
Basic load for a persistent custom asset More... | |
void | Save () |
Basic save for a persistent custom asset More... | |
Properties | |
float | Minimum [get, set] |
The smallest value a Float can be set to More... | |
float | Maximum [get, set] |
The largest value a Float can be set to More... | |
![]() | |
virtual T | Value [get, set] |
For safe(ish) access to the contents field More... | |
Additional Inherited Members | |
![]() | |
override void | OnEnable () |
Called when an asset is loaded and enabled. Used to ensure the custom asset does not leave memory prematurely and to load it if persistent More... | |
override void | OnDisable () |
More... | |
Definition at line 9 of file Mutable/Float.cs.
|
static |
|
static |
|
static |
|
getset |
The largest value a Float can be set to
Definition at line 16 of file Mutable/Float.cs.
|
getset |
The smallest value a Float can be set to
Definition at line 13 of file Mutable/Float.cs.