123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Arena
- {
- public partial class UI_ArenaResultQuickUI
- {
- public GComponent target;
- public UI_ComTitle m_comTitle;
- public GTextField m_txtTargetName;
- public GComponent m_comTargetHeadWithlv;
- public GTextField m_txtTargetRank;
- public GTextField m_txtDantitle;
- public GList m_list;
- public GTextField m_txtMyFightScore;
- public GTextField m_txtTargetFightScore;
- public GLoader m_loaResule;
- public const string URL = "ui://4lc5fhlbpsphx";
- public const string PACKAGE_NAME = "Arena";
- public const string RES_NAME = "ArenaResultQuickUI";
- private static UI_ArenaResultQuickUI _proxy;
- public static UI_ArenaResultQuickUI Create(GObject gObject = null)
- {
- var ui = new UI_ArenaResultQuickUI();
- 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_ArenaResultQuickUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ArenaResultQuickUI();
- }
- 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_comTitle = (UI_ComTitle)UI_ComTitle.Create(comp.GetChild("comTitle"));
- m_txtTargetName = (GTextField)comp.GetChild("txtTargetName");
- m_comTargetHeadWithlv = (GComponent)comp.GetChild("comTargetHeadWithlv");
- m_txtTargetRank = (GTextField)comp.GetChild("txtTargetRank");
- m_txtDantitle = (GTextField)comp.GetChild("txtDantitle");
- m_list = (GList)comp.GetChild("list");
- m_txtMyFightScore = (GTextField)comp.GetChild("txtMyFightScore");
- m_txtTargetFightScore = (GTextField)comp.GetChild("txtTargetFightScore");
- m_loaResule = (GLoader)comp.GetChild("loaResule");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_comTitle.Dispose();
- m_comTitle = null;
- m_txtTargetName = null;
- m_comTargetHeadWithlv = null;
- m_txtTargetRank = null;
- m_txtDantitle = null;
- m_list = null;
- m_txtMyFightScore = null;
- m_txtTargetFightScore = null;
- m_loaResule = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|