private void Impact() { ScreenFader.SetColor(Color.clear); GenGameEnd.EndGameDialogMessage("GameOverPlanetkillerImpact".Translate(new object[] { Find.World.info.name }), false, GameCondition_Planetkiller.FadeColor); }
public void GameEndTick() { if (this.gameEnding) { this.ticksToGameOver--; if (this.ticksToGameOver == 0) { GenGameEnd.EndGameDialogMessage("GameOverEveryoneDead".Translate(), true); } } }
private void Impact() { ScreenFader.SetColor(Color.clear); GenGameEnd.EndGameDialogMessage("GameOverPlanetkillerImpact".Translate(Find.World.info.name), allowKeepPlaying: false, FadeColor); }
public static void EndGameDialogMessage(string msg, bool allowKeepPlaying = true) { GenGameEnd.EndGameDialogMessage(msg, allowKeepPlaying, Color.clear); }