![]() |
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...
Additional Inherited Members | |
![]() | |
override string | ToString () |
Pass string conversion responsibility from the custom asset to the containing value More... | |
![]() | |
static implicit | operator T (OfType< T > t) |
All extraction by casting a custom object to the contained type. Same as getting the Value - as in myCustomAsset.Value === (MyCustomAsset) myCustomAsset More... | |
![]() | |
T | Value |
For safe(ish) access to the contents field More... | |
![]() | |
static OfType< T > | Instance (string name) |
If this is a project asset, then you will need to reference it somewhere. Other classes can get a reference using Instance() or Instance(string name) . Also useful for creating in-memory versions to share between hosts. More... | |
Definition at line 8 of file Constant/Float.cs.