CustomAssets
Askowl Custom Assets
CustomAsset.Constant.AudioClips Class Reference

Create an asset to store a list of sounds and play one randomly or cyclically More...

Inheritance diagram for CustomAsset.Constant.AudioClips:
CustomAsset.Constant.OfType< AudioClipSet >

Static Public Member Functions

static new AudioClips Instance (string name)
 Retrieve a reference to a named AudioClips asset More...
 
- Static Public Member Functions inherited from CustomAsset.Constant.OfType< AudioClipSet >
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

AudioClipSet Picker => Value
 Audio Clip Player More...
 
- Public Attributes inherited from CustomAsset.Constant.OfType< AudioClipSet >
Value
 For safe(ish) access to the contents field More...
 

Additional Inherited Members

- Public Member Functions inherited from CustomAsset.Constant.OfType< AudioClipSet >
override string ToString ()
 Pass string conversion responsibility from the custom asset to the containing value More...
 
- Static Protected Member Functions inherited from CustomAsset.Constant.OfType< AudioClipSet >
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...
 

Detailed Description

Member Function Documentation

◆ Instance()

static new AudioClips CustomAsset.Constant.AudioClips.Instance ( string  name)
static

Member Data Documentation

◆ Picker

AudioClipSet CustomAsset.Constant.AudioClips.Picker => Value

Audio Clip Player

Definition at line 35 of file Constant/AudioClips.cs.


The documentation for this class was generated from the following file: