示例#1
0
 void OnClick()
 {
     am.PlayAudio("ButtonSelect");
     am.Mute();
     if (am.mute)
     {
         displayText.text = "MUSIC: OFF";
     }
     else
     {
         displayText.text = "MUSIC: ON";
     }
 }