Exemplo n.º 1
0
 public void SoundToggle()
 {
     musicSoundController.soundToggle = !musicSoundController.soundToggle;
     EventSystem.current.currentSelectedGameObject.GetComponent <Image>().sprite = musicSoundController.GetSoundCheckboxSprite();
 }