NGUI_为Button添加声音_010

为Button添加点击的声音
在创建好Button后,在给Button添加UIPlaySound脚本组件。
NGUI_为Button添加声音_010
AudioClip是选择声音的片段
Trigger是触发的方式
NGUI_为Button添加声音_010
Onclick 点击的时候触发
OnMouseOver 当鼠标在控件上方的时候触发
OnMouseOut 当鼠标离开控件的时候
OnPress当鼠标按下的时候触发
OnRelease当鼠标释放的时候触发
Custom自定义的时候
OnEnable 当控件**的时候
OnDisable当鼠标失活的时候触发
Volume声音大小
Pitch 播放的速度