/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.ActivityMain { public partial class UI_ActivityZCJB { public GComponent target; public GLoader m_btnChange; public GLoader m_icon; public GButton m_rewardBTn; public GTextField m_activityTime; public GLoader m_backBtn; public GLoader m_viewBtn; public GLoader m_shopBtn; public GGraph m_bgEffect; public GGraph m_btnEffect; public const string URL = "ui://4ht5s77uqbf4l"; public const string PACKAGE_NAME = "ActivityMain"; public const string RES_NAME = "ActivityZCJB"; private static UI_ActivityZCJB _proxy; public static UI_ActivityZCJB Create(GObject gObject = null) { var ui = new UI_ActivityZCJB(); 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_ActivityZCJB Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ActivityZCJB(); } 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_btnChange = (GLoader)comp.GetChild("btnChange"); m_icon = (GLoader)comp.GetChild("icon"); m_rewardBTn = (GButton)comp.GetChild("rewardBTn"); m_activityTime = (GTextField)comp.GetChild("activityTime"); m_backBtn = (GLoader)comp.GetChild("backBtn"); m_viewBtn = (GLoader)comp.GetChild("viewBtn"); m_shopBtn = (GLoader)comp.GetChild("shopBtn"); m_bgEffect = (GGraph)comp.GetChild("bgEffect"); m_btnEffect = (GGraph)comp.GetChild("btnEffect"); } public void Dispose(bool disposeTarget = false) { m_btnChange = null; m_icon = null; m_rewardBTn = null; m_activityTime = null; m_backBtn = null; m_viewBtn = null; m_shopBtn = null; m_bgEffect = null; m_btnEffect = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }