/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.CommonGame { public partial class UI_RewardUI { public GComponent target; public GGraph m_bg; public GGraph m_holderTitle; public GGroup m_downTipsText; public UI_ComRewardList m_comList; public GGroup m_grp; public Transition m_openViewAction; public const string URL = "ui://eg2y0ldpm9wm8q"; public const string PACKAGE_NAME = "CommonGame"; public const string RES_NAME = "RewardUI"; private static UI_RewardUI _proxy; public static UI_RewardUI Create(GObject gObject = null) { var ui = new UI_RewardUI(); 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_RewardUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_RewardUI(); } 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 = (GGraph)comp.GetChild("bg"); m_holderTitle = (GGraph)comp.GetChild("holderTitle"); m_downTipsText = (GGroup)comp.GetChild("downTipsText"); m_comList = (UI_ComRewardList)UI_ComRewardList.Create(comp.GetChild("comList")); m_grp = (GGroup)comp.GetChild("grp"); m_openViewAction = comp.GetTransition("openViewAction"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_holderTitle = null; m_downTipsText = null; m_comList.Dispose(); m_comList = null; m_grp = null; m_openViewAction = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }