Exemplo n.º 1
0
    void Restart()
    {
        File.Delete(Application.persistentDataPath + "/gamesave.save");
        ResetVariables(true);
        gridScript.Start();
        gridScript.ClearCells();
        gridScript.SetPause(false);

        if (interstitial.IsLoaded())
        {
            interstitial.Show();
        }
        LoadInterstitial();
    }