/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.MatchingCompetition { public partial class UI_MatchingCompetitionRewardUI { public GComponent target; public GGraph m_mask; public GGraph m_holderBgCom; 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://ri3cveycjw093x"; public const string PACKAGE_NAME = "MatchingCompetition"; public const string RES_NAME = "MatchingCompetitionRewardUI"; private static UI_MatchingCompetitionRewardUI _proxy; public static UI_MatchingCompetitionRewardUI Create(GObject gObject = null) { var ui = new UI_MatchingCompetitionRewardUI(); 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_MatchingCompetitionRewardUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_MatchingCompetitionRewardUI(); } 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_mask = (GGraph)comp.GetChild("mask"); m_holderBgCom = (GGraph)comp.GetChild("holderBgCom"); 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_mask = null; m_holderBgCom = 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; } } }