Class SampleSetAudioSource
This component takes a sample set asset and assigns it's audio clip to the audio source after it's been generated at runtime.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
SampleSetAudioSource
Namespace: InsaneScatterbrain.RetroKit
Syntax
[RequireComponent(typeof(AudioSource))]
public class SampleSetAudioSource : MonoBehaviour
Fields
audioSource
Declaration
public AudioSource audioSource
Field Value
Type | Description |
---|---|
UnityEngine.AudioSource |
sampleSetAsset
Declaration
public SampleSetAsset sampleSetAsset
Field Value
Type | Description |
---|---|
SampleSetAsset |