Show / Hide Table of Contents

Class EditorSampleSetAssetScriptableObject

Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
EditorSampleSetAssetScriptableObject
Song
SoundEffect
Namespace: InsaneScatterbrain.RetroKit.Editor
Syntax
public class EditorSampleSetAssetScriptableObject : ScriptableObject

Fields

editorSampleSetAsset

Declaration
[SerializeField]
protected EditorSampleSetAsset editorSampleSetAsset
Field Value
Type Description
EditorSampleSetAsset

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
Type Description
SampleSetAsset

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
Type Name Description
SampleSetAssetType type

The type of sample set.

Play(Boolean)

Declaration
public void Play(bool loop = false)
Parameters
Type Name Description
System.Boolean loop

Stop()

Declaration
public void Stop()
Back to top Generated by DocFX