123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Poem
- {
- public partial class UI_PoemGalleryUI
- {
- public GComponent target;
- public Controller m_c1;
- public GLoader m_loaBg;
- public GButton m_btnback;
- public UI_ComNormal m_comNormal;
- public UI_ComFavorites m_comFavorites;
- public GButton m_btnRecover;
- public GButton m_btnJoin;
- public GButton m_btnFavorites;
- public GButton m_guideBtn1;
- public GButton m_guideBtn2;
- public GButton m_guideBtn3;
- public const string URL = "ui://iyz778gkr9ri10u";
- public const string PACKAGE_NAME = "Poem";
- public const string RES_NAME = "PoemGalleryUI";
- private static UI_PoemGalleryUI _proxy;
- public static UI_PoemGalleryUI Create(GObject gObject = null)
- {
- var ui = new UI_PoemGalleryUI();
- 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_PoemGalleryUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_PoemGalleryUI();
- }
- 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_loaBg = (GLoader)comp.GetChild("loaBg");
- m_btnback = (GButton)comp.GetChild("btnback");
- m_comNormal = (UI_ComNormal)UI_ComNormal.Create(comp.GetChild("comNormal"));
- m_comFavorites = (UI_ComFavorites)UI_ComFavorites.Create(comp.GetChild("comFavorites"));
- m_btnRecover = (GButton)comp.GetChild("btnRecover");
- m_btnJoin = (GButton)comp.GetChild("btnJoin");
- m_btnFavorites = (GButton)comp.GetChild("btnFavorites");
- m_guideBtn1 = (GButton)comp.GetChild("guideBtn1");
- m_guideBtn2 = (GButton)comp.GetChild("guideBtn2");
- m_guideBtn3 = (GButton)comp.GetChild("guideBtn3");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_loaBg = null;
- m_btnback = null;
- m_comNormal.Dispose();
- m_comNormal = null;
- m_comFavorites.Dispose();
- m_comFavorites = null;
- m_btnRecover = null;
- m_btnJoin = null;
- m_btnFavorites = null;
- m_guideBtn1 = null;
- m_guideBtn2 = null;
- m_guideBtn3 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|