CustomAssets
Askowl Custom Assets
Mutable/AudioClips.cs
1
// Copyright 2018 (C) paul@marrington.net http://www.askowl.net/unity-packages
2
3
using
CustomAsset
.
Constant
;
4
using
UnityEngine
;
5
6
namespace
CustomAsset
.Mutable {
7
/// <a href="http://bit.ly/2RcqaCt">Create an asset to store a list of sounds and play one randomly or cyclically</a>
8
[CreateAssetMenu(menuName =
"Custom Assets/Mutable/Audio Clips"
, fileName =
"AudioClips"
)]
9
public
class
AudioClips
:
OfType
<AudioClipSet> {
10
/// <a href="http://bit.ly/2RcqaCt">Retrieve an asset of AudioClips</a>
11
public
static
AudioClips
Instance(
string
name) => Instance<AudioClips>(name);
12
13
/// <a href="http://bit.ly/2RcqaCt">Audio Clip Picker <see cref="CustomAsset.Constant.AudioClipSet"/></a>
14
public
AudioClipSet
Picker => Value;
15
}
16
}
CustomAsset.Constant.AudioClipSet
Support class for audio clip playing
Definition:
Constant/AudioClips.cs:9
CustomAsset.Constant
Definition:
Constant/AudioClips.cs:7
CustomAsset.Mutable.OfType
Base class for a custom asset. Provides getters and setters for the contained value and templates for...
Definition:
Mutable/OfType.cs:45
CustomAsset
Definition:
AudioClipsEditor.cs:8
AudioClips
UnityEngine
Askowl
CustomAssets
Assets
Askowl
CustomAssets
Scripts
Mutable
AudioClips.cs
Generated by
1.8.14