Beispiel #1
0
        public void OnGoto(Transform t)
        {
            if (DropDatas == null)
            {
                EB.Debug.LogError("dropDatas = null");
            }
            if (DropDatas.Count == 0)
            {
                return;
            }
            int index = int.Parse(t.gameObject.name);

            if (index > DropDatas.Count)
            {
                EB.Debug.LogError("index > DropDatas.Count");
                return;
            }
            Hotfix_LT.Data.DropDataBase data = (DropDatas[index] as Hotfix_LT.Data.DropDataBase);
            if (mDMono.transform.GetUIControllerILRComponent <UIToolTipPanelController>(false) == null)
            {
                data.GotoDrop();
            }
            else
            {
                data.GotoDrop(mDMono.transform.GetUIControllerILRComponent <UIToolTipPanelController>().controller);
            }
        }
Beispiel #2
0
        public void OnGoToDrop(Transform tran)
        {
            int index = DropTranList.IndexOf(tran);

            FusionAudio.PostEvent("UI/General/ButtonClick");
            Hotfix_LT.Data.DropDataBase data = (DropDatas[index] as Hotfix_LT.Data.DropDataBase);
            data.GotoDrop(controller);
        }
Beispiel #3
0
        public void OnGoto(Transform t)
        {
            FusionAudio.PostEvent("UI/General/ButtonClick");
            if (DropDatas == null)
            {
                EB.Debug.LogError("dropDatas = null");
            }
            if (DropDatas.Count == 0)
            {
                return;
            }
            int index = int.Parse(t.gameObject.name);

            if (index > DropDatas.Count)
            {
                EB.Debug.LogError("index > DropDatas.Count");
                return;
            }
            Hotfix_LT.Data.DropDataBase data = (DropDatas[index] as Hotfix_LT.Data.DropDataBase);
            data.GotoDrop(_uiToolTipController.controller);
        }