Example #1
0
 public void activate()
 {
     gameObject.SetActive(true);
     GamePause.activate();
     anim.Play("SettingsDisplay");
     updateCheckmarks();
 }
Example #2
0
 public void activate(int points)
 {
     gameObject.SetActive(true);
     GamePause.activate();
     pointsValue.text = points.ToString();
     anim.Play("EndGameDisplay");
 }
Example #3
0
 public void buttonStartGame()
 {
     blockCreator.buttonBack();
     game.SetActive(true);
     GamePause.activate();
     game.GetComponent <Game>().newGame();
     gameObject.SetActive(false);
 }