Beispiel #1
0
    public void Start()
    {
        // Run the physics at 60fps. This will never change!
        // Most objects in the world (with colliders on) will move at this delta!
        Time.fixedDeltaTime = Types.s_fFixedDeltaTimeUpdate;

        // Achievements should be attached to this game object.
        // Build the final achievement array so we know what to pop up on screen...
        m_gcAchievementsList = GetComponent <Achievements>();
        GAssert.Assert(null != m_gcAchievementsList, "GameInstance: Unable to find the list of achievements! Component missing!");
        m_gcAchievementsList.BuildAchievementsList();

        GameGlobals.LoadHighScores_Local();

        // GNTODO: This needs to move to after we have loaded the User Prefs, probably SplashScreen_Exit?
        m_gcAudioManager.LoadUserPrefs();
    }