예제 #1
0
 public static void ToggleQualityGame(bool state)
 {
     if (!state && PlayerHudReference.qualityGame.activeSelf)
     {
         QualityMinigame.EndGame();
         PlayerHudReference.StartCoroutine(PlayerHudReference.HideQualityGame());
     }
     else
     {
         PlayerHudReference.qualityGame.SetActive(state);
     }
 }