/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.ActivityAfternoonTea { public partial class UI_RewardTips { public GComponent target; public GLoader m_btnBack; public GTextField m_name; public GTextField m_desc; public GList m_rewardList; public GImage m_back; public GGraph m_effect1; public GGraph m_effect2; public const string URL = "ui://wpsqkdbzqbf41v"; public const string PACKAGE_NAME = "ActivityAfternoonTea"; public const string RES_NAME = "RewardTips"; private static UI_RewardTips _proxy; public static UI_RewardTips Create(GObject gObject = null) { var ui = new UI_RewardTips(); 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_RewardTips Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_RewardTips(); } 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_btnBack = (GLoader)comp.GetChild("btnBack"); m_name = (GTextField)comp.GetChild("name"); m_desc = (GTextField)comp.GetChild("desc"); m_rewardList = (GList)comp.GetChild("rewardList"); m_back = (GImage)comp.GetChild("back"); m_effect1 = (GGraph)comp.GetChild("effect1"); m_effect2 = (GGraph)comp.GetChild("effect2"); } public void Dispose(bool disposeTarget = false) { m_btnBack = null; m_name = null; m_desc = null; m_rewardList = null; m_back = null; m_effect1 = null; m_effect2 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }