Exemple #1
0
    void FinishGame()
    {
        holderScript.ClearAllTiles();
        pointsCounter.EndGamePoints();
        pointsCounter.pointsDisplay.gameObject.SetActive(false);

        Analytics.CustomEvent("GameOver", new Dictionary <string, object>
        {
            { "score", pointsCounter.points }
        });

        endGameObject.SetActive(true);
    }