예제 #1
0
 public void ChangeSizeSmall()
 {
     sizeMin.ChangeToNormal();
     sizeSmall.ChangeToNegative();
     sizeMedium.ChangeToNormal();
     sizeBig.ChangeToNormal();
     PlayerPrefs.SetInt("Table Size", 1);
 }
예제 #2
0
 private void HandleLanguage()
 {
     if (language == 1)
     {
         rules.ChangeToNegative();
         english.ChangeToNormal();
         turkish.ChangeToNegative();
     }
     else
     {
         rules.ChangeToNormal();
         english.ChangeToNegative();
         turkish.ChangeToNormal();
     }
 }
예제 #3
0
 public void ChangeMusicOff()
 {
     musicOn.ChangeToNormal();
     musicOff.ChangeToNegative();
     PlayerPrefs.SetInt("Music", 0);
     SoundManager.instance.StopMusic();
 }
예제 #4
0
 void GoNormal()
 {
     start.ChangeToNormal();
     how2play.ChangeToNormal();
     options.ChangeToNormal();
     wtfAreWe.ChangeToNormal();
     Camera.main.backgroundColor = Color.white;
 }
예제 #5
0
파일: UIHandler.cs 프로젝트: OFGONEN/619
 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);
     }
 }
예제 #6
0
 public void ChangeSoundOff()
 {
     soundOn.ChangeToNormal();
     soundOff.ChangeToNegative();
     PlayerPrefs.SetInt("Sound", 0);
 }