Example #1
0
    } // End of GameStateGameOver

    // This function will allow the spawners to begin their execution, reset the scores, and anything else that must be dealt with before a new game is initialized.
    void GameStateActivateNormal()
    {
        activateSpawner = true;      // Turn on the spawners
        gameStateOver   = false;     // Disable the 'Game Over' game state
        score.AccessThrashScores();  // Flush the current scores
        winLoseText.text    = "";    // Remove any existing text string of wither the player lost or won
        activateNormalState = false; // Turn this off
    } // End of GameStateActivateNormal