private void OnClickFuBenGroupCell(IEvent ievent) { var e = ievent as DungeonGroupCellClick; InitFuBenSelect(); var type = 0; var toggle = DungeonList[1].GetComponent <UIToggle>(); if (toggle.value) { type = 1; } var toggle2 = DungeonList[2].GetComponent <UIToggle>(); if (toggle2.value) { type = 2; } var ee = new DungeonGroupCellClick2(type, e.Index); EventDispatcher.Instance.DispatchEvent(ee); }
public void OnClickVipDungeon() { // ScrollContainer.SetActive(true); // MainScroll.SetActive(false); // TeamScroll.SetActive(true); var ee = new DungeonGroupCellClick2(2, 0); EventDispatcher.Instance.DispatchEvent(ee); }