123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Bag
- {
- public partial class UI_ItemExchangeUI
- {
- public GComponent target;
- public GComponent m_comBg;
- public GTextField m_txtOwned;
- public GTextField m_txtDesc;
- public GLoader m_loaRarity;
- public GLoader m_loaIcon;
- public GTextField m_txtExchangeCount;
- public GTextField m_txtGong;
- public GTextField m_txtShang;
- public GTextField m_txtJue;
- public GTextField m_txtZhi;
- public GGroup m_grpScore;
- public GList m_listTag;
- public GList m_listItem;
- public GTextField m_txtShow;
- public UI_Button2 m_btnMinus;
- public GButton m_btnAdd;
- public UI_Button3 m_btnMax;
- public GTextField m_txtCostCount;
- public GTextField m_txtTips;
- public GComponent m_comCost;
- public GTextField m_txtRmbCost;
- public GButton m_btnCancle;
- public GButton m_btnConfirm;
- public GGroup m_bgpBtn;
- public GGroup m_grpBtn;
- public const string URL = "ui://2bsz6nelm9eitml";
- public const string PACKAGE_NAME = "Bag";
- public const string RES_NAME = "ItemExchangeUI";
- private static UI_ItemExchangeUI _proxy;
- public static UI_ItemExchangeUI Create(GObject gObject = null)
- {
- var ui = new UI_ItemExchangeUI();
- 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_ItemExchangeUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ItemExchangeUI();
- }
- 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_comBg = (GComponent)comp.GetChild("comBg");
- m_txtOwned = (GTextField)comp.GetChild("txtOwned");
- m_txtDesc = (GTextField)comp.GetChild("txtDesc");
- m_loaRarity = (GLoader)comp.GetChild("loaRarity");
- m_loaIcon = (GLoader)comp.GetChild("loaIcon");
- m_txtExchangeCount = (GTextField)comp.GetChild("txtExchangeCount");
- m_txtGong = (GTextField)comp.GetChild("txtGong");
- m_txtShang = (GTextField)comp.GetChild("txtShang");
- m_txtJue = (GTextField)comp.GetChild("txtJue");
- m_txtZhi = (GTextField)comp.GetChild("txtZhi");
- m_grpScore = (GGroup)comp.GetChild("grpScore");
- m_listTag = (GList)comp.GetChild("listTag");
- m_listItem = (GList)comp.GetChild("listItem");
- m_txtShow = (GTextField)comp.GetChild("txtShow");
- m_btnMinus = (UI_Button2)UI_Button2.Create(comp.GetChild("btnMinus"));
- m_btnAdd = (GButton)comp.GetChild("btnAdd");
- m_btnMax = (UI_Button3)UI_Button3.Create(comp.GetChild("btnMax"));
- m_txtCostCount = (GTextField)comp.GetChild("txtCostCount");
- m_txtTips = (GTextField)comp.GetChild("txtTips");
- m_comCost = (GComponent)comp.GetChild("comCost");
- m_txtRmbCost = (GTextField)comp.GetChild("txtRmbCost");
- m_btnCancle = (GButton)comp.GetChild("btnCancle");
- m_btnConfirm = (GButton)comp.GetChild("btnConfirm");
- m_bgpBtn = (GGroup)comp.GetChild("bgpBtn");
- m_grpBtn = (GGroup)comp.GetChild("grpBtn");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_comBg = null;
- m_txtOwned = null;
- m_txtDesc = null;
- m_loaRarity = null;
- m_loaIcon = null;
- m_txtExchangeCount = null;
- m_txtGong = null;
- m_txtShang = null;
- m_txtJue = null;
- m_txtZhi = null;
- m_grpScore = null;
- m_listTag = null;
- m_listItem = null;
- m_txtShow = null;
- m_btnMinus.Dispose();
- m_btnMinus = null;
- m_btnAdd = null;
- m_btnMax.Dispose();
- m_btnMax = null;
- m_txtCostCount = null;
- m_txtTips = null;
- m_comCost = null;
- m_txtRmbCost = null;
- m_btnCancle = null;
- m_btnConfirm = null;
- m_bgpBtn = null;
- m_grpBtn = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|