예제 #1
0
 public void EndGame()
 {
     FindObjectOfType <ScoreText>().Game = false;
     PlayGamesScript.AddScoreToLeaderboard(GPGSIds.leaderboard_best_players, FindObjectOfType <ScoreText>().score);
     AdScript.instance.ShowFullscreenAd();
     changer.ChangeBoxToBlack();
     StartCoroutine(RestartLevel());
 }