Esempio n. 1
0
        public void OnNewGame()
        {
            LiveSession.SetPlayerData(new PlayerData());
            LiveSession.SetCaveData(NameGenerator.GenerateCaveName(), 3, new [] { Mineral.White });
            LiveSession.SetCurrentMission(new MapMission(3));

            GetComponent <SceneTransition>().DelayedSceneChange("CaveTutorial");
        }
Esempio n. 2
0
 public void LaunchMission()
 {
     LiveSession.SetCaveData(caveMission.CaveName, caveMission.CaveRooms, caveMission.CaveMinerals);
     LiveSession.SetCurrentMission(caveMission.Mission);
     GetComponent <SceneTransition>().DelayedSceneChange("Cave");
 }