123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.CommonGame
- {
- public partial class UI_ComItem
- {
- public GComponent target;
- public Controller m_QualityType;
- public Controller m_ViewType;
- public Controller m_TouchType;
- public Controller m_NewType;
- public GImage m_imgSelect;
- public GLoader m_loaBg;
- public GLoader m_loaIcon;
- public GImage m_imgOnceBonus;
- public GLoader m_loaRarity;
- public GGraph m_holderReware;
- public GTextField m_txtCount;
- public GTextField m_txtName;
- public GButton m_btnMinus;
- public GTextField m_txtDecomHasCount;
- public GTextField m_txtDecomCount;
- public const string URL = "ui://eg2y0ldpwet2tae";
- public const string PACKAGE_NAME = "CommonGame";
- public const string RES_NAME = "ComItem";
- private static UI_ComItem _proxy;
- public static UI_ComItem Create(GObject gObject = null)
- {
- var ui = new UI_ComItem();
- 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_ComItem Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ComItem();
- }
- 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_QualityType = comp.GetController("QualityType");
- m_ViewType = comp.GetController("ViewType");
- m_TouchType = comp.GetController("TouchType");
- m_NewType = comp.GetController("NewType");
- m_imgSelect = (GImage)comp.GetChild("imgSelect");
- m_loaBg = (GLoader)comp.GetChild("loaBg");
- m_loaIcon = (GLoader)comp.GetChild("loaIcon");
- m_imgOnceBonus = (GImage)comp.GetChild("imgOnceBonus");
- m_loaRarity = (GLoader)comp.GetChild("loaRarity");
- m_holderReware = (GGraph)comp.GetChild("holderReware");
- m_txtCount = (GTextField)comp.GetChild("txtCount");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_btnMinus = (GButton)comp.GetChild("btnMinus");
- m_txtDecomHasCount = (GTextField)comp.GetChild("txtDecomHasCount");
- m_txtDecomCount = (GTextField)comp.GetChild("txtDecomCount");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_QualityType = null;
- m_ViewType = null;
- m_TouchType = null;
- m_NewType = null;
- m_imgSelect = null;
- m_loaBg = null;
- m_loaIcon = null;
- m_imgOnceBonus = null;
- m_loaRarity = null;
- m_holderReware = null;
- m_txtCount = null;
- m_txtName = null;
- m_btnMinus = null;
- m_txtDecomHasCount = null;
- m_txtDecomCount = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|