123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Card
- {
- public partial class UI_CardSkillUI
- {
- public GComponent target;
- public Controller m_c1;
- public Controller m_c2;
- public GLoader m_loaSkill;
- public GTextField m_txtName;
- public UI_ComSkillDiscribe m_comCurLV;
- public UI_ComSkillDiscribe m_comNextLv;
- public GList m_listConsume;
- public GComponent m_comConsume;
- public GButton m_btnUpLvSpecial;
- public GButton m_btnUpLv;
- public GButton m_btnCheckself;
- public GButton m_btnCheckother;
- public GGroup m_lvInfo;
- public GGraph m_holderIcon;
- public const string URL = "ui://7l6lvkayrhha9m";
- public const string PACKAGE_NAME = "Card";
- public const string RES_NAME = "CardSkillUI";
- private static UI_CardSkillUI _proxy;
- public static UI_CardSkillUI Create(GObject gObject = null)
- {
- var ui = new UI_CardSkillUI();
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static UI_CardSkillUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_CardSkillUI();
- }
- var ui = _proxy;
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static void ProxyEnd()
- {
- if (_proxy != null)
- {
- _proxy.Dispose();
- }
- }
- public static void ClearProxy()
- {
- ProxyEnd();
- _proxy = null;
- }
- private void Init(GComponent comp)
- {
- m_c1 = comp.GetController("c1");
- m_c2 = comp.GetController("c2");
- m_loaSkill = (GLoader)comp.GetChild("loaSkill");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_comCurLV = (UI_ComSkillDiscribe)UI_ComSkillDiscribe.Create(comp.GetChild("comCurLV"));
- m_comNextLv = (UI_ComSkillDiscribe)UI_ComSkillDiscribe.Create(comp.GetChild("comNextLv"));
- m_listConsume = (GList)comp.GetChild("listConsume");
- m_comConsume = (GComponent)comp.GetChild("comConsume");
- m_btnUpLvSpecial = (GButton)comp.GetChild("btnUpLvSpecial");
- m_btnUpLv = (GButton)comp.GetChild("btnUpLv");
- m_btnCheckself = (GButton)comp.GetChild("btnCheckself");
- m_btnCheckother = (GButton)comp.GetChild("btnCheckother");
- m_lvInfo = (GGroup)comp.GetChild("lvInfo");
- m_holderIcon = (GGraph)comp.GetChild("holderIcon");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_c2 = null;
- m_loaSkill = null;
- m_txtName = null;
- m_comCurLV.Dispose();
- m_comCurLV = null;
- m_comNextLv.Dispose();
- m_comNextLv = null;
- m_listConsume = null;
- m_comConsume = null;
- m_btnUpLvSpecial = null;
- m_btnUpLv = null;
- m_btnCheckself = null;
- m_btnCheckother = null;
- m_lvInfo = null;
- m_holderIcon = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|