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); }
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); }