/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.ClothingFoster { public partial class UI_ClothingUI { public GComponent target; public Controller m_c1; public Controller m_c2; public GLoader m_loaBg; 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 = "ClothingUI"; private static UI_ClothingUI _proxy; public static UI_ClothingUI Create(GObject gObject = null) { var ui = new UI_ClothingUI(); 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_ClothingUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ClothingUI(); } 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_loaBg = (GLoader)comp.GetChild("loaBg"); 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_loaBg = 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; } } }