Exemplo n.º 1
0
        public static CommonSkillDesView Open(PlayerSkillTalentInfo data, Vector3 pos, Vector2 sizeDelta)
        {
            CommonSkillDesView view = UIMgr.instance.Open <CommonSkillDesView>(PREFAB_PATH, EUISortingLayer.Tips);

            view.SetData(data, pos, sizeDelta);

            return(view);
        }
Exemplo n.º 2
0
        public static CommonSkillDesView Open(SkillInfo data, int curStar, int starMin, Vector3 pos, Vector2 sizeDelta)
        {
            CommonSkillDesView view = UIMgr.instance.Open <CommonSkillDesView>(PREFAB_PATH, EUISortingLayer.Tips);

            view.SetData(data, curStar, starMin, pos, sizeDelta);

            return(view);
        }