예제 #1
0
    private void LoadFromTransition()
    {
        GlobalController.UnFadeToBlack();
        FadeAudio(1);

        if (!GlobalController.GetSaveContainer().RuntimeLoadedOnce())
        {
            return;
        }

        if (transition.subway)
        {
            SubwayManager.ArriveWithPlayer();
        }
        else if (transition.beacon != null)
        {
            GlobalController.MovePlayerToBeacon(transition.beacon);
        }
        else
        {
            GlobalController.MovePlayerTo(transition.position);
        }
    }