Exemple #1
0
    void Game_Over()
    {
        Debug.Log("GAME OVER");
        isDead = true;
        bool qualify = Leaderboard.DoIQualify((int)bossHP.value);

        if (qualify)
        {
            initials.SetActive(true);
            Leaderboard.AddScore("ASS", (int)bossHP.value);
        }
        DestroyGameObject();
    }