1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ClothingUpgrade
- {
- public partial class UI_ClothingSelectUI
- {
- public GComponent target;
- public GLoader m_bg;
- public GGraph m_bgEffect;
- public GLoader m_roleIcon;
- public GLoader m_afuIcon;
- public GList m_selectList;
- public GTextField m_descText;
- public GGraph m_birdEffect;
- public GButton m_btnBack;
- public const string URL = "ui://n7cyoafqckqp0";
- public const string PACKAGE_NAME = "ClothingUpgrade";
- public const string RES_NAME = "ClothingSelectUI";
- private static UI_ClothingSelectUI _proxy;
- public static UI_ClothingSelectUI Create(GObject gObject = null)
- {
- var ui = new UI_ClothingSelectUI();
- 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_ClothingSelectUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ClothingSelectUI();
- }
- 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_bgEffect = (GGraph)comp.GetChild("bgEffect");
- m_roleIcon = (GLoader)comp.GetChild("roleIcon");
- m_afuIcon = (GLoader)comp.GetChild("afuIcon");
- m_selectList = (GList)comp.GetChild("selectList");
- m_descText = (GTextField)comp.GetChild("descText");
- m_birdEffect = (GGraph)comp.GetChild("birdEffect");
- m_btnBack = (GButton)comp.GetChild("btnBack");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bg = null;
- m_bgEffect = null;
- m_roleIcon = null;
- m_afuIcon = null;
- m_selectList = null;
- m_descText = null;
- m_birdEffect = null;
- m_btnBack = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|