Exemplo n.º 1
0
    public void Show()
    {
        m_rescuedValue.text = GameSettings.SuiRescuedCount.ToString();
        GGHeroGame.SaveScore(m_gameplay, GameSettings.SuiRescuedCount);

        m_recordValue.text = GGHeroGame.GetRecord().ToString();

        NGUITools.SetActive(m_continueButton.gameObject, RewardedAds.GetInstance().IsReady());
    }
Exemplo n.º 2
0
 public void ExitToMenuButtonPressed()
 {
     GGHeroGame.SaveScore(Gameplay, GameSettings.SuiRescuedCount);
     Gameplay.RestartGame(true);
 }