public void ChangeSizeSmall() { sizeMin.ChangeToNormal(); sizeSmall.ChangeToNegative(); sizeMedium.ChangeToNormal(); sizeBig.ChangeToNormal(); PlayerPrefs.SetInt("Table Size", 1); }
private void HandleLanguage() { if (language == 1) { rules.ChangeToNegative(); english.ChangeToNormal(); turkish.ChangeToNegative(); } else { rules.ChangeToNormal(); english.ChangeToNegative(); turkish.ChangeToNormal(); } }
public void ChangeMusicOff() { musicOn.ChangeToNormal(); musicOff.ChangeToNegative(); PlayerPrefs.SetInt("Music", 0); SoundManager.instance.StopMusic(); }
void GoNormal() { start.ChangeToNormal(); how2play.ChangeToNormal(); options.ChangeToNormal(); wtfAreWe.ChangeToNormal(); Camera.main.backgroundColor = Color.white; }
void ToggleOptionBar(bool open) { if (open) { bar_option.ChangeToNegative(); button_option.gameObject.SetActive(true); text_option.gameObject.SetActive(true); text_player_name.gameObject.SetActive(false); } else { bar_option.ChangeToNormal(); button_option.gameObject.SetActive(false); text_option.gameObject.SetActive(false); text_player_name.gameObject.SetActive(true); } }
public void ChangeSoundOff() { soundOn.ChangeToNormal(); soundOff.ChangeToNegative(); PlayerPrefs.SetInt("Sound", 0); }