public void ShowMap(AdvEngine advEngine, string mapDataName, bool onRead = false) { ShortcutExtensions46.DOFade(this.mapCanvas, 1f, !onRead ? 0.5f : 0f); this.shown = true; this.mapCanvas.set_blocksRaycasts(true); this.engine = advEngine; if (mapDataName.Contains("|")) { mapDataName = this.GetRandomMapData(mapDataName); } this.currentMapData = mapDataName; if (mapDataName.Substring(0, 2).Contains("重")) { mapDataName = mapDataName.Substring(0, 2) + "/" + mapDataName; } string[][] arrayCollection = MyTool.ParseTSV(MyTool.LoadText("MapData/" + mapDataName)); string[] arrayByFirstElement = MyTool.GetArrayByFirstElement(arrayCollection, "Area"); int index = MyTool.ParseInt(MyTool.GetArrayByFirstElement(arrayCollection, "Mode")[2], 1) - 1; List <string> list = new List <string>(arrayByFirstElement); foreach (Button button in this.areaButtons) { bool flag = false; string[] strArray3 = new string[0]; if (list.Contains(button.get_gameObject().get_name())) { flag = true; strArray3 = MyTool.GetArrayByFirstElement(arrayCollection, button.get_gameObject().get_name()); } button.get_gameObject().SetActive(flag); if (flag) {