11 public override void OnAfterAddLayer()
19 LayerTitle.actor = Util.Instantiate<
EmbarkActor>(this.moldActor,
null);
21 this.SetChara(
ELayer.pc,
null);
22 ELayer.ui.hud.hint.Show(
"hintEmbarkTop".lang(),
false);
23 this.imageBG.SetAlpha(0f);
24 this.imageBG.DOFade(0.15f, 10f);
28 public void SetChara(
Chara c, UnityAction _onKill =
null)
30 this.chara = (c ??
ELayer.player.chara);
31 this.maker.SetChara(this.chara);
34 this.onKill.AddListener(_onKill);
39 public void OnClickStart()
41 if (!
ELayer.game.Difficulty.allowManualSave)
43 Dialog.YesNo(
"dialog_warnManualSave".lang(
ELayer.game.Difficulty.Name,
null,
null,
null,
null), delegate
45 this.<OnClickStart>g__Start|7_0();
46 },
null,
"yes",
"no");
49 this.<OnClickStart>g__Start|7_0();
53 public void OnClickHelp()
60 private void <OnClickStart>g__Start|7_0()
67 if (!
ELayer.debug.skipInitialQuest)
71 LayerDrama.ActivateMain(
"mono",
"1-1",
null,
null,
"");
75 ELayer.game.StartNewGame();