Пример #1
0
    private void Initialise()
    {
        Transitions.Initialise(this);

        ScoreTracker.Initialise(userInterface.ReturnScoreText());
        TimeTracker.Initialise(userInterface.ReturnTimeText());

        globalObjectPools.Initialise();
        audioManager.Initialise();
        achievementManager.Initialise();

        //Cleanup after a large start up sequence.
        Debugging.ClearUnusedAssetsAndCollectGarbage();
    }