| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.ClothingFoster{    public partial class UI_SuitUI    {        public GComponent target;        public Controller m_c1;        public Controller m_c2;        public GLoader m_bg;        public GGraph m_holder;        public GButton m_btnBack;        public GTextField m_txtName;        public GLoader m_loaRarity;        public GButton m_btnRight;        public GButton m_btnLeft;        public GButton m_btnTabFoster;        public GButton m_btnTabRenew;        public UI_ComFosterReward m_comFosterReward;        public GButton m_btnPropertyShow;        public GList m_listProperty;        public GList m_listFoster;        public GGroup m_grpFoster;        public GTextField m_txtRenewProperty;        public GComponent m_comRenewCost;        public GButton m_btnRenew;        public GTextField m_txtRenewTips;        public UI_ComRenewReward m_comRenewReward;        public GList m_listRenewMaterial;        public GGroup m_grpRenew;        public GTextField m_txtRenewShow;        public UI_ComRenewRewardGet m_comRenewRewardGet;        public GGroup m_grpRenewFinish;        public UI_comFosterAni m_comFosterAni;        public const string URL = "ui://uicwtr5bpy5gf";        public const string PACKAGE_NAME = "ClothingFoster";        public const string RES_NAME = "SuitUI";        private static UI_SuitUI _proxy;        public static UI_SuitUI Create(GObject gObject = null)        {            var ui = new UI_SuitUI();            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_SuitUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_SuitUI();            }            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_bg = (GLoader)comp.GetChild("bg");            m_holder = (GGraph)comp.GetChild("holder");            m_btnBack = (GButton)comp.GetChild("btnBack");            m_txtName = (GTextField)comp.GetChild("txtName");            m_loaRarity = (GLoader)comp.GetChild("loaRarity");            m_btnRight = (GButton)comp.GetChild("btnRight");            m_btnLeft = (GButton)comp.GetChild("btnLeft");            m_btnTabFoster = (GButton)comp.GetChild("btnTabFoster");            m_btnTabRenew = (GButton)comp.GetChild("btnTabRenew");            m_comFosterReward = (UI_ComFosterReward)UI_ComFosterReward.Create(comp.GetChild("comFosterReward"));            m_btnPropertyShow = (GButton)comp.GetChild("btnPropertyShow");            m_listProperty = (GList)comp.GetChild("listProperty");            m_listFoster = (GList)comp.GetChild("listFoster");            m_grpFoster = (GGroup)comp.GetChild("grpFoster");            m_txtRenewProperty = (GTextField)comp.GetChild("txtRenewProperty");            m_comRenewCost = (GComponent)comp.GetChild("comRenewCost");            m_btnRenew = (GButton)comp.GetChild("btnRenew");            m_txtRenewTips = (GTextField)comp.GetChild("txtRenewTips");            m_comRenewReward = (UI_ComRenewReward)UI_ComRenewReward.Create(comp.GetChild("comRenewReward"));            m_listRenewMaterial = (GList)comp.GetChild("listRenewMaterial");            m_grpRenew = (GGroup)comp.GetChild("grpRenew");            m_txtRenewShow = (GTextField)comp.GetChild("txtRenewShow");            m_comRenewRewardGet = (UI_ComRenewRewardGet)UI_ComRenewRewardGet.Create(comp.GetChild("comRenewRewardGet"));            m_grpRenewFinish = (GGroup)comp.GetChild("grpRenewFinish");            m_comFosterAni = (UI_comFosterAni)UI_comFosterAni.Create(comp.GetChild("comFosterAni"));        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_c2 = null;            m_bg = null;            m_holder = null;            m_btnBack = null;            m_txtName = null;            m_loaRarity = null;            m_btnRight = null;            m_btnLeft = null;            m_btnTabFoster = null;            m_btnTabRenew = null;            m_comFosterReward.Dispose();            m_comFosterReward = null;            m_btnPropertyShow = null;            m_listProperty = null;            m_listFoster = null;            m_grpFoster = null;            m_txtRenewProperty = null;            m_comRenewCost = null;            m_btnRenew = null;            m_txtRenewTips = null;            m_comRenewReward.Dispose();            m_comRenewReward = null;            m_listRenewMaterial = null;            m_grpRenew = null;            m_txtRenewShow = null;            m_comRenewRewardGet.Dispose();            m_comRenewRewardGet = null;            m_grpRenewFinish = null;            m_comFosterAni.Dispose();            m_comFosterAni = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |