public void SoundButtonClick() { UtilityManeger.isSound = !UtilityManeger.isSound; UtilityManeger.SaveSound(); if (UtilityManeger.isSound) { soundController.OnPlay(); soundButtonImage.sprite = soundSprites[1]; } else { soundController.OnMute(); soundButtonImage.sprite = soundSprites[0]; } }