12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Arena
- {
- public partial class UI_ArenaDanUpUI
- {
- public GComponent target;
- public Controller m_c1;
- public UI_ComDanIcon m_comLastDan;
- public UI_ComDanIcon m_comCurDan;
- public GList m_listFirstDanReward;
- public Transition m_t0;
- public const string URL = "ui://4lc5fhlbpsph8";
- public const string PACKAGE_NAME = "Arena";
- public const string RES_NAME = "ArenaDanUpUI";
- private static UI_ArenaDanUpUI _proxy;
- public static UI_ArenaDanUpUI Create(GObject gObject = null)
- {
- var ui = new UI_ArenaDanUpUI();
- 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_ArenaDanUpUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ArenaDanUpUI();
- }
- 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_c1 = comp.GetController("c1");
- m_comLastDan = (UI_ComDanIcon)UI_ComDanIcon.Create(comp.GetChild("comLastDan"));
- m_comCurDan = (UI_ComDanIcon)UI_ComDanIcon.Create(comp.GetChild("comCurDan"));
- m_listFirstDanReward = (GList)comp.GetChild("listFirstDanReward");
- m_t0 = comp.GetTransition("t0");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_comLastDan.Dispose();
- m_comLastDan = null;
- m_comCurDan.Dispose();
- m_comCurDan = null;
- m_listFirstDanReward = null;
- m_t0 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|