1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Arena
- {
- public partial class UI_ComTheme
- {
- public GComponent target;
- public GComponent m_comTag;
- public GLoader m_loaScore0;
- public GLoader m_loaScore1;
- public GLoader m_loaScore2;
- public GGroup m_grpTheme;
- public const string URL = "ui://4lc5fhlbt6j15b";
- public const string PACKAGE_NAME = "Arena";
- public const string RES_NAME = "ComTheme";
- private static UI_ComTheme _proxy;
- public static UI_ComTheme Create(GObject gObject = null)
- {
- var ui = new UI_ComTheme();
- 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_ComTheme Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ComTheme();
- }
- 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_comTag = (GComponent)comp.GetChild("comTag");
- m_loaScore0 = (GLoader)comp.GetChild("loaScore0");
- m_loaScore1 = (GLoader)comp.GetChild("loaScore1");
- m_loaScore2 = (GLoader)comp.GetChild("loaScore2");
- m_grpTheme = (GGroup)comp.GetChild("grpTheme");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_comTag = null;
- m_loaScore0 = null;
- m_loaScore1 = null;
- m_loaScore2 = null;
- m_grpTheme = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|