1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Card
- {
- public partial class UI_CardUpUI
- {
- public GComponent target;
- public Controller m_c1;
- public GGraph m_holderBgCom;
- public GGraph m_holderTitle;
- public GTextField m_txtLast;
- public GTextField m_txtNow;
- public GList m_listProperty;
- public GList m_listLastProperty;
- public GList m_listCardProperty;
- public GList m_listLastCardProperty;
- public const string URL = "ui://7l6lvkayjzrr8p";
- public const string PACKAGE_NAME = "Card";
- public const string RES_NAME = "CardUpUI";
- private static UI_CardUpUI _proxy;
- public static UI_CardUpUI Create(GObject gObject = null)
- {
- var ui = new UI_CardUpUI();
- 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_CardUpUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_CardUpUI();
- }
- 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_holderBgCom = (GGraph)comp.GetChild("holderBgCom");
- m_holderTitle = (GGraph)comp.GetChild("holderTitle");
- m_txtLast = (GTextField)comp.GetChild("txtLast");
- m_txtNow = (GTextField)comp.GetChild("txtNow");
- m_listProperty = (GList)comp.GetChild("listProperty");
- m_listLastProperty = (GList)comp.GetChild("listLastProperty");
- m_listCardProperty = (GList)comp.GetChild("listCardProperty");
- m_listLastCardProperty = (GList)comp.GetChild("listLastCardProperty");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_holderBgCom = null;
- m_holderTitle = null;
- m_txtLast = null;
- m_txtNow = null;
- m_listProperty = null;
- m_listLastProperty = null;
- m_listCardProperty = null;
- m_listLastCardProperty = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|