Applies an audio effect (sound) to a GUI control. More...
Public Member Functions | |
void | Awake () |
override IEnumerator | Play () |
Plays the audio. | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIEffect | |
IEnumerator | Play () |
Plays the effect. | |
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. | |
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.
|
inline |
|
inline |
Plays the audio.