![]() |
CustomAssets
Askowl Custom Assets
|
Create an asset to store a list of sounds and play one randomly or cyclically More...
Static Public Member Functions | |
static AudioClips | Instance (string name) |
Retrieve an asset of AudioClips 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... | |
static new TC | Instance< TC > (string path=null) |
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... | |
static TC | New< TC > () |
Create a new instance of the asset with a random name (GUID based) More... | |
static TC | New< TC > (string name) |
Create a new instance of the asset with a supplied name. Note you can get duplicate names More... | |
static OfType< T > | New (string name=null) |
Create a new instance dynamically More... | |
Public Attributes | |
AudioClipSet | Picker => Value |
Audio Clip Picker More... | |
Create an asset to store a list of sounds and play one randomly or cyclically
Definition at line 9 of file Mutable/AudioClips.cs.
|
static |
AudioClipSet CustomAsset.Mutable.AudioClips.Picker => Value |
Definition at line 14 of file Mutable/AudioClips.cs.