8 public override bool blockWidgetClick
17 public override void OnAfterInit()
19 UIBook.Mode mode = this.book.mode;
20 if (mode == UIBook.Mode.Announce)
22 this.book.Show(
"version" + (
ELayer.core.version.demo ?
"_demo" :
""),
null,
null,
null);
25 if (mode != UIBook.Mode.About)
29 this.book.Show(
"about_EA",
null,
null,
null);
33 public static void Toggle(
string idFile,
string idTopic =
null)
36 if (layerHelp !=
null)
38 layerHelp.book.Show(idFile, idTopic,
null,
null);
43 public override void OnRightClick()
45 if (this.book.inputSearch &&
this.book.transSearchResult.gameObject.activeSelf)
47 this.book.showSearchResult =
false;
54 private void OnDestroy()
56 if (this.book.mode == UIBook.Mode.Help)
58 LayerHelp.lastIdFile = this.book.idFile;
59 LayerHelp.lastIdTopic = this.book.idTopic;
64 public static string lastIdFile;
67 public static string lastIdTopic;