1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Poem
- {
- public partial class UI_PoemGalleryPreviewUI
- {
- public GComponent target;
- public Controller m_c1;
- public GButton m_btnback;
- public GLoader m_loaPicture;
- public GComponent m_comHead;
- public GTextField m_txtlevel;
- public GTextField m_txtName;
- public GButton m_btnAddFriend;
- public GButton m_btnDelete;
- public GButton m_btnVote;
- public GButton m_btnCollect;
- public const string URL = "ui://iyz778gkr9ri116";
- public const string PACKAGE_NAME = "Poem";
- public const string RES_NAME = "PoemGalleryPreviewUI";
- private static UI_PoemGalleryPreviewUI _proxy;
- public static UI_PoemGalleryPreviewUI Create(GObject gObject = null)
- {
- var ui = new UI_PoemGalleryPreviewUI();
- 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_PoemGalleryPreviewUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_PoemGalleryPreviewUI();
- }
- 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_btnback = (GButton)comp.GetChild("btnback");
- m_loaPicture = (GLoader)comp.GetChild("loaPicture");
- m_comHead = (GComponent)comp.GetChild("comHead");
- m_txtlevel = (GTextField)comp.GetChild("txtlevel");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_btnAddFriend = (GButton)comp.GetChild("btnAddFriend");
- m_btnDelete = (GButton)comp.GetChild("btnDelete");
- m_btnVote = (GButton)comp.GetChild("btnVote");
- m_btnCollect = (GButton)comp.GetChild("btnCollect");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_btnback = null;
- m_loaPicture = null;
- m_comHead = null;
- m_txtlevel = null;
- m_txtName = null;
- m_btnAddFriend = null;
- m_btnDelete = null;
- m_btnVote = null;
- m_btnCollect = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|