Applies an audio effect (sound) to a GUI control. More...
Public Member Functions | |
void | Awake () |
override IEnumerator | Play () |
Plays the audio. More... | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIEffect | |
virtual void | Stop () |
void | OnEnable () |
void | OnDisable () |
Additional Inherited Members | |
Public Attributes inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIEffect | |
GUIEffectTrigger | trigger = GUIEffectTrigger.OnEnable |
The trigger that makes the effect play. More... | |
Applies an audio effect (sound) to a GUI control.
To use this effect, add an audio source to the GUI control's game object. When triggered, this effect plays the audio source.
void PixelCrushers.DialogueSystem.UnityGUI.AudioEffect.Awake | ( | ) |
|
virtual |
Plays the audio.
Implements PixelCrushers.DialogueSystem.UnityGUI.GUIEffect.