コード例 #1
0
 void FailGame()
 {
     badEnding.Show().Then(() => {
         gameState.CurrentProfile.currentRuns.Remove(gameState.CurrentRun);
         UpdateState();
     });
 }
コード例 #2
0
 void FinishGame(GameRun run)
 {
     ending.Show().Then(() => {
         gameState.CurrentProfile.completedRuns.Add(run);
         gameState.CurrentProfile.currentRuns.Remove(run);
         UpdateState();
     });
 }