![]() |
CustomAssets
Askowl Custom Assets
|
Custom Asset for picking one or a list of quotes - either kept in the asset or as a separate text file. Each quote is on a separate line in the form: More...
Public Member Functions | |
string | Pick () |
More... | |
![]() | |
override string | ToString () |
Pass string conversion responsibility from the custom asset to the containing value More... | |
Static Public Member Functions | |
static string | Rtf (string quote) |
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... | |
Public Attributes | |
int | Count => Value.Count |
More... | |
![]() | |
T | Value |
For safe(ish) access to the contents field More... | |
Protected Member Functions | |
override void | OnEnable () |
More... | |
Additional Inherited Members | |
![]() | |
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... | |
Quote body (attribution)
|
protected |