1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.OpenServerActivity
- {
- public partial class UI_OpenServerSuitAdditionUI
- {
- public GComponent target;
- public GImage m_bg;
- public GGraph m_holderLeftTop;
- public GGraph m_holderRightDowm;
- public GTextField m_txtMaxCount;
- public GList m_list;
- public GTextField m_txtPer;
- public const string URL = "ui://b8ha2mnsdcmv13";
- public const string PACKAGE_NAME = "OpenServerActivity";
- public const string RES_NAME = "OpenServerSuitAdditionUI";
- private static UI_OpenServerSuitAdditionUI _proxy;
- public static UI_OpenServerSuitAdditionUI Create(GObject gObject = null)
- {
- var ui = new UI_OpenServerSuitAdditionUI();
- 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_OpenServerSuitAdditionUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_OpenServerSuitAdditionUI();
- }
- 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_bg = (GImage)comp.GetChild("bg");
- m_holderLeftTop = (GGraph)comp.GetChild("holderLeftTop");
- m_holderRightDowm = (GGraph)comp.GetChild("holderRightDowm");
- m_txtMaxCount = (GTextField)comp.GetChild("txtMaxCount");
- m_list = (GList)comp.GetChild("list");
- m_txtPer = (GTextField)comp.GetChild("txtPer");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bg = null;
- m_holderLeftTop = null;
- m_holderRightDowm = null;
- m_txtMaxCount = null;
- m_list = null;
- m_txtPer = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|