123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Arena
- {
- public partial class UI_ArenaDressInfoUI
- {
- public GComponent target;
- public Controller m_c1;
- public Controller m_c2;
- public Controller m_c3;
- public GButton m_btnBack;
- public GLoader m_loaBg;
- public UI_BtnTab3 m_btn0;
- public UI_BtnTab3 m_btn1;
- public UI_BtnTab3 m_btn2;
- public UI_ComValueInfo m_comValueInfo;
- public GComponent m_comListBg;
- public GList m_list;
- public UI_ComCard m_comCard;
- public GButton m_btnDress;
- public GButton m_btnRecommend;
- public const string URL = "ui://4lc5fhlbpsph1";
- public const string PACKAGE_NAME = "Arena";
- public const string RES_NAME = "ArenaDressInfoUI";
- private static UI_ArenaDressInfoUI _proxy;
- public static UI_ArenaDressInfoUI Create(GObject gObject = null)
- {
- var ui = new UI_ArenaDressInfoUI();
- 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_ArenaDressInfoUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ArenaDressInfoUI();
- }
- 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_c3 = comp.GetController("c3");
- m_btnBack = (GButton)comp.GetChild("btnBack");
- m_loaBg = (GLoader)comp.GetChild("loaBg");
- m_btn0 = (UI_BtnTab3)UI_BtnTab3.Create(comp.GetChild("btn0"));
- m_btn1 = (UI_BtnTab3)UI_BtnTab3.Create(comp.GetChild("btn1"));
- m_btn2 = (UI_BtnTab3)UI_BtnTab3.Create(comp.GetChild("btn2"));
- m_comValueInfo = (UI_ComValueInfo)UI_ComValueInfo.Create(comp.GetChild("comValueInfo"));
- m_comListBg = (GComponent)comp.GetChild("comListBg");
- m_list = (GList)comp.GetChild("list");
- m_comCard = (UI_ComCard)UI_ComCard.Create(comp.GetChild("comCard"));
- m_btnDress = (GButton)comp.GetChild("btnDress");
- m_btnRecommend = (GButton)comp.GetChild("btnRecommend");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_c2 = null;
- m_c3 = null;
- m_btnBack = null;
- m_loaBg = null;
- m_btn0.Dispose();
- m_btn0 = null;
- m_btn1.Dispose();
- m_btn1 = null;
- m_btn2.Dispose();
- m_btn2 = null;
- m_comValueInfo.Dispose();
- m_comValueInfo = null;
- m_comListBg = null;
- m_list = null;
- m_comCard.Dispose();
- m_comCard = null;
- m_btnDress = null;
- m_btnRecommend = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|