Пример #1
0
    // Token: 0x0600342F RID: 13359 RVA: 0x000D6CF8 File Offset: 0x000D4EF8
    public IEnumerator Start()
    {
        GameplayCamera currentCamera = UI.Cameras.Current;

        currentCamera.ChangeTargetToCurrentCharacter();
        Scenes.Manager.EnableDisabledScenesAtPosition(false);
        currentCamera.UpdateTargetHelperPosition();
        currentCamera.MoveCameraToTargetPosition();
        currentCamera.OffsetController.UpdateOffset(true);
        currentCamera.MoveCameraToTargetInstantly(true);
        yield return(new WaitForFixedUpdate());

        GameSettings.Instance.LoadSettings();
        this.CreateCheckpoint();
        SaveSceneManager.Master.RegisterGameObject(this.m_systemsGameObject);
        SuspensionManager.Register(this);
        if (!this.IsTrial)
        {
            WaitForSaveGameLogic.OnCompletedStatic = (Action)Delegate.Combine(WaitForSaveGameLogic.OnCompletedStatic, new Action(AchievementsLogic.Instance.HandleTrialAchievements));
        }
        yield break;
    }