public void OpenNextStage() { if (LoadNextStage() == "0") { CS_GameSave.SaveGame("stage" + (int.Parse(stage) + 1).ToString(), "level1", "1"); } }
public void OpenNextLevel() { if (LoadNext() == "0") { CS_GameSave.SaveGame("stage" + stage, "level" + (int.Parse(level) + 1).ToString(), "1"); } }
void Start() { CS_GameSave.CreatGameSave(); if (CS_GameSave.LoadGame("stage1", "level1") == "0") { CS_GameSave.SaveGame("stage1", "level1", "1"); } stage = "0"; level = "0"; }
public void Save(string t_status) { CS_GameSave.SaveGame("stage" + stage, "level" + level, t_status); }