1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Card
- {
- public partial class UI_CardUpLevelUI
- {
- public GComponent target;
- public GGraph m_holderLeftTop;
- public GGraph m_holderRightDowm;
- public GList m_list;
- public GButton m_btnUse;
- public GTextField m_txtChooseLevel;
- public GButton m_btnAdd;
- public GButton m_btnReduce;
- public GSlider m_slideUpLevel;
- public GLoader m_loaCost;
- public GTextField m_txtCost;
- public const string URL = "ui://7l6lvkaykm99tm5";
- public const string PACKAGE_NAME = "Card";
- public const string RES_NAME = "CardUpLevelUI";
- private static UI_CardUpLevelUI _proxy;
- public static UI_CardUpLevelUI Create(GObject gObject = null)
- {
- var ui = new UI_CardUpLevelUI();
- 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_CardUpLevelUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_CardUpLevelUI();
- }
- 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_holderLeftTop = (GGraph)comp.GetChild("holderLeftTop");
- m_holderRightDowm = (GGraph)comp.GetChild("holderRightDowm");
- m_list = (GList)comp.GetChild("list");
- m_btnUse = (GButton)comp.GetChild("btnUse");
- m_txtChooseLevel = (GTextField)comp.GetChild("txtChooseLevel");
- m_btnAdd = (GButton)comp.GetChild("btnAdd");
- m_btnReduce = (GButton)comp.GetChild("btnReduce");
- m_slideUpLevel = (GSlider)comp.GetChild("slideUpLevel");
- m_loaCost = (GLoader)comp.GetChild("loaCost");
- m_txtCost = (GTextField)comp.GetChild("txtCost");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_holderLeftTop = null;
- m_holderRightDowm = null;
- m_list = null;
- m_btnUse = null;
- m_txtChooseLevel = null;
- m_btnAdd = null;
- m_btnReduce = null;
- m_slideUpLevel = null;
- m_loaCost = null;
- m_txtCost = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|