Пример #1
0
    void Start()
    {
        m_openSettings = false;

        m_lastCheckpointLevel    = SaveLoadSystem_JamieG.LoadCheckpoint().m_lastCheckpointLevel;
        m_continueButton.enabled = m_lastCheckpointLevel > 0;
    }
Пример #2
0
    public void ResetToCheckpoint()
    {
        int checkpointLevel = SaveLoadSystem_JamieG.LoadCheckpoint().m_lastCheckpointLevel;

        StartCoroutine(Load(checkpointLevel > 0 ? checkpointLevel : 1));
    }