123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Friend
- {
- public partial class UI_FriendUI
- {
- public GComponent target;
- public GButton m_btnBack;
- public GTextField m_txtCount;
- public GTextField m_txtName;
- public GGroup m_grpName;
- public GTextField m_txtSlogan;
- public GGroup m_grpSlogan;
- public GButton m_btnSolgan;
- public GButton m_btnDelete;
- public GButton m_btnAdd;
- public GList m_list;
- public GButton m_btnSendAll;
- public const string URL = "ui://wez2ujnnjdju0";
- public const string PACKAGE_NAME = "Friend";
- public const string RES_NAME = "FriendUI";
- private static UI_FriendUI _proxy;
- public static UI_FriendUI Create(GObject gObject = null)
- {
- var ui = new UI_FriendUI();
- 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_FriendUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_FriendUI();
- }
- 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_btnBack = (GButton)comp.GetChild("btnBack");
- m_txtCount = (GTextField)comp.GetChild("txtCount");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_grpName = (GGroup)comp.GetChild("grpName");
- m_txtSlogan = (GTextField)comp.GetChild("txtSlogan");
- m_grpSlogan = (GGroup)comp.GetChild("grpSlogan");
- m_btnSolgan = (GButton)comp.GetChild("btnSolgan");
- m_btnDelete = (GButton)comp.GetChild("btnDelete");
- m_btnAdd = (GButton)comp.GetChild("btnAdd");
- m_list = (GList)comp.GetChild("list");
- m_btnSendAll = (GButton)comp.GetChild("btnSendAll");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_btnBack = null;
- m_txtCount = null;
- m_txtName = null;
- m_grpName = null;
- m_txtSlogan = null;
- m_grpSlogan = null;
- m_btnSolgan = null;
- m_btnDelete = null;
- m_btnAdd = null;
- m_list = null;
- m_btnSendAll = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|