Class AudioEvents
AudioEvents contains UnityEvents that will fire before and after an AudioSource plays. The AudioSource to which the events correspond must be a component of the same game object as the AudioEvents.
Inheritance
MonoBehaviour
AudioEvents
Namespace: Alegra.DimSums
Assembly: cs.temp.dll.dll
Syntax
public class AudioEvents : MonoBehaviour
Fields
onAudioEnded
Fires once when the AudioSource clip stops playing.
Declaration
public UnityEvent onAudioEnded
Field Value
Type | Description |
---|---|
UnityEvent |
onAudioStarted
Fires once when the AudioSource clip begins playing.
Declaration
public UnityEvent onAudioStarted
Field Value
Type | Description |
---|---|
UnityEvent |