1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ActivityGetYuanXiao
- {
- public partial class UI_ActivityGetYuanXiaoSuccessUI
- {
- public GComponent target;
- public GButton m_btnExit;
- public GButton m_btnRetry;
- public GList m_listReward;
- public GGraph m_starEffect;
- public GGraph m_titleEffect;
- public Transition m_t0;
- public const string URL = "ui://tguohf7uhmj62c";
- public const string PACKAGE_NAME = "ActivityGetYuanXiao";
- public const string RES_NAME = "ActivityGetYuanXiaoSuccessUI";
- private static UI_ActivityGetYuanXiaoSuccessUI _proxy;
- public static UI_ActivityGetYuanXiaoSuccessUI Create(GObject gObject = null)
- {
- var ui = new UI_ActivityGetYuanXiaoSuccessUI();
- 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_ActivityGetYuanXiaoSuccessUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ActivityGetYuanXiaoSuccessUI();
- }
- 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_btnExit = (GButton)comp.GetChild("btnExit");
- m_btnRetry = (GButton)comp.GetChild("btnRetry");
- m_listReward = (GList)comp.GetChild("listReward");
- m_starEffect = (GGraph)comp.GetChild("starEffect");
- m_titleEffect = (GGraph)comp.GetChild("titleEffect");
- m_t0 = comp.GetTransition("t0");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_btnExit = null;
- m_btnRetry = null;
- m_listReward = null;
- m_starEffect = null;
- m_titleEffect = null;
- m_t0 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|