Beispiel #1
0
    // Below functions will be called in the Sequence of "Title" ScenarioNode.
    // SelectionsNode shows 3 choices,  "NewGame" and "Continue" and "Quit".

    // Check whether the Quick Save Data File is Exists.
    // if Exists in your storage , then Set a Flag named "QSaveDataExists".
    void CheckQuickSaveFile()
    {
        bool isQuickSaveFileExists = SystemUtility.CheckQuickSaveFileAndLoadFromStorage();

        ScenarioNode.Instance.flagTable.SetFlagBy("QSaveDataExists", isQuickSaveFileExists);
    }
Beispiel #2
0
    // Use this for initialization
    void Start()
    {
        bool isQuickSaveFileExists = SystemUtility.CheckQuickSaveFileAndLoadFromStorage();

        continueButton.isEnabled = isQuickSaveFileExists;
    }