public void OnLoadGameSubmit(Guid saveId, SaveData summary) { var data = GameStartData.Create(); data.saveId = saveId; data.saveName = summary.saveName; data.seed = summary.seed; data.isLoadedGame = true; this.LoadInGame(); }
public void OnNewGameSubmit() { if (this.newGameName.text.Length <= 0) { return; } var data = GameStartData.Create(); data.saveId = Guid.NewGuid(); data.saveName = this.newGameName.text; this.LoadInGame(); }