Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Echo on November 25, 2012, 11:18:35 PM
-
Hey I'm using a checkbox to mute my game, but when I use OnActivation + Debug.Log it doesn't seem to be working. Should I use a different function? Also If I get it working what's the most efficient way to mute the game? It seems weird to reference all objects with an audio source one by one and turn their volumes down.
-
It's "OnActivate" by default: http://www.tasharen.com/ngui/docs/class_u_i_checkbox.html#a05dbf1df1735738e8448cec8bb5c0612
-
It's "OnActivate" by default: http://www.tasharen.com/ngui/docs/class_u_i_checkbox.html#a05dbf1df1735738e8448cec8bb5c0612
Don't know why I said OnActivation, already using OnActivate currently.
EDIT: Nvm, I'm ashamed of my self. I forgot to put the script on the GameObject. Sorry.