Class EditorSampleSetAssetScriptableObject
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
EditorSampleSetAssetScriptableObject
Syntax
public class EditorSampleSetAssetScriptableObject : ScriptableObject
Fields
editorSampleSetAsset
Declaration
[SerializeField]
protected EditorSampleSetAsset editorSampleSetAsset
Field Value
Properties
AudioClip
Declaration
public AudioClip AudioClip { get; }
Property Value
| Type |
Description |
| UnityEngine.AudioClip |
|
IsLooping
Declaration
public bool IsLooping { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsPlaying
Declaration
public bool IsPlaying { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
PlaybackPosition
Declaration
public float PlaybackPosition { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
SampleSetAsset
Declaration
public SampleSetAsset SampleSetAsset { get; }
Property Value
Volume
Declaration
public float Volume { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
Methods
OnCreate(SampleSetAssetType)
Executes all action required when this object is first created.
Declaration
protected void OnCreate(SampleSetAssetType type)
Parameters
Play(Boolean)
Declaration
public void Play(bool loop = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
loop |
|
Stop()
Declaration