1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ClothingUpgrade
- {
- public partial class UI_ClothingAnsweringUI
- {
- public GComponent target;
- public GLoader m_bg;
- public GTextField m_txtAnswerNum;
- public GTextField m_txtContent;
- public GList m_listResult;
- public GButton m_btnBack;
- public const string URL = "ui://n7cyoafqxfkih";
- public const string PACKAGE_NAME = "ClothingUpgrade";
- public const string RES_NAME = "ClothingAnsweringUI";
- private static UI_ClothingAnsweringUI _proxy;
- public static UI_ClothingAnsweringUI Create(GObject gObject = null)
- {
- var ui = new UI_ClothingAnsweringUI();
- 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_ClothingAnsweringUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ClothingAnsweringUI();
- }
- 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 = (GLoader)comp.GetChild("bg");
- m_txtAnswerNum = (GTextField)comp.GetChild("txtAnswerNum");
- m_txtContent = (GTextField)comp.GetChild("txtContent");
- m_listResult = (GList)comp.GetChild("listResult");
- m_btnBack = (GButton)comp.GetChild("btnBack");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bg = null;
- m_txtAnswerNum = null;
- m_txtContent = null;
- m_listResult = null;
- m_btnBack = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|