123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ClothingUpgrade
- {
- public partial class UI_ClothingUpgradeUI
- {
- public GComponent target;
- public Controller m_c1;
- public Controller m_c2;
- public GLoader m_bg;
- public GComponent m_item0;
- public GComponent m_item1;
- public GComponent m_item2;
- public GTextField m_desc1Text;
- public GTextField m_desc2;
- public GTextField m_desc2Text;
- public GTextField m_desc3;
- public GTextField m_desc3Text;
- public GButton m_upgradeBtn;
- public GButton m_levelUpBtn;
- public GTextField m_finish;
- public GTextField m_unLockText;
- public GButton m_btnBack;
- public const string URL = "ui://n7cyoafqckqp4";
- public const string PACKAGE_NAME = "ClothingUpgrade";
- public const string RES_NAME = "ClothingUpgradeUI";
- private static UI_ClothingUpgradeUI _proxy;
- public static UI_ClothingUpgradeUI Create(GObject gObject = null)
- {
- var ui = new UI_ClothingUpgradeUI();
- 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_ClothingUpgradeUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ClothingUpgradeUI();
- }
- 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_c1 = comp.GetController("c1");
- m_c2 = comp.GetController("c2");
- m_bg = (GLoader)comp.GetChild("bg");
- m_item0 = (GComponent)comp.GetChild("item0");
- m_item1 = (GComponent)comp.GetChild("item1");
- m_item2 = (GComponent)comp.GetChild("item2");
- m_desc1Text = (GTextField)comp.GetChild("desc1Text");
- m_desc2 = (GTextField)comp.GetChild("desc2");
- m_desc2Text = (GTextField)comp.GetChild("desc2Text");
- m_desc3 = (GTextField)comp.GetChild("desc3");
- m_desc3Text = (GTextField)comp.GetChild("desc3Text");
- m_upgradeBtn = (GButton)comp.GetChild("upgradeBtn");
- m_levelUpBtn = (GButton)comp.GetChild("levelUpBtn");
- m_finish = (GTextField)comp.GetChild("finish");
- m_unLockText = (GTextField)comp.GetChild("unLockText");
- m_btnBack = (GButton)comp.GetChild("btnBack");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_c2 = null;
- m_bg = null;
- m_item0 = null;
- m_item1 = null;
- m_item2 = null;
- m_desc1Text = null;
- m_desc2 = null;
- m_desc2Text = null;
- m_desc3 = null;
- m_desc3Text = null;
- m_upgradeBtn = null;
- m_levelUpBtn = null;
- m_finish = null;
- m_unLockText = null;
- m_btnBack = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|