NGUI: Next-Gen UI kit
3.7.2
|
Plays the specified sound. More...
Public Types | |
enum | Trigger { Trigger.OnClick, Trigger.OnMouseOver, Trigger.OnMouseOut, Trigger.OnPress, Trigger.OnRelease, Trigger.Custom } |
Public Member Functions | |
void | Play () |
Public Attributes | |
AudioClip | audioClip |
Trigger | trigger = Trigger.OnClick |
float | volume = 1f |
float | pitch = 1f |
Plays the specified sound.
enum UIPlaySound.Trigger |
void UIPlaySound.Play | ( | ) |
AudioClip UIPlaySound.audioClip |
float UIPlaySound.pitch = 1f |
Trigger UIPlaySound.trigger = Trigger.OnClick |
float UIPlaySound.volume = 1f |