Пример #1
0
        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);
        }
Пример #2
0
        public void OnClickVipDungeon()
        {
            //         ScrollContainer.SetActive(true);
            //         MainScroll.SetActive(false);
            //         TeamScroll.SetActive(true);
            var ee = new DungeonGroupCellClick2(2, 0);

            EventDispatcher.Instance.DispatchEvent(ee);
        }