Beispiel #1
0
 public void ToggleSound()
 {
     soundController.ToggleSound();
     soundButton.overrideSprite = soundController.IsMuted ? soundOff : soundOn;
 }