/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.ActivityMain { public partial class UI_MonthlyCardTipsUI { public GComponent target; public GLoader m_bg; public GLoader m_icon; public GLoader m_btnBuy; public GLoader m_btnBuyTxt; public GList m_rewardList; public GImage m_TipImg; public GLoader m_notTips; public GLoader m_backBtn; public Transition m_t0; public const string URL = "ui://4ht5s77u806n7"; public const string PACKAGE_NAME = "ActivityMain"; public const string RES_NAME = "MonthlyCardTipsUI"; private static UI_MonthlyCardTipsUI _proxy; public static UI_MonthlyCardTipsUI Create(GObject gObject = null) { var ui = new UI_MonthlyCardTipsUI(); 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_MonthlyCardTipsUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_MonthlyCardTipsUI(); } 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_bg = (GLoader)comp.GetChild("bg"); m_icon = (GLoader)comp.GetChild("icon"); m_btnBuy = (GLoader)comp.GetChild("btnBuy"); m_btnBuyTxt = (GLoader)comp.GetChild("btnBuyTxt"); m_rewardList = (GList)comp.GetChild("rewardList"); m_TipImg = (GImage)comp.GetChild("TipImg"); m_notTips = (GLoader)comp.GetChild("notTips"); m_backBtn = (GLoader)comp.GetChild("backBtn"); m_t0 = comp.GetTransition("t0"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_icon = null; m_btnBuy = null; m_btnBuyTxt = null; m_rewardList = null; m_TipImg = null; m_notTips = null; m_backBtn = null; m_t0 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }