// 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); }
// Use this for initialization void Start() { bool isQuickSaveFileExists = SystemUtility.CheckQuickSaveFileAndLoadFromStorage(); continueButton.isEnabled = isQuickSaveFileExists; }