| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 | /** 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 GGraph m_mask;        public GLoader m_loaPicture;        public GButton m_btnback;        public GComponent m_comHead;        public GTextField m_txtName;        public GButton m_btnAddFriend;        public GButton m_btnDelete;        public GTextField m_txtLvl;        public GTextField m_txtTheme;        public GButton m_btnCollect;        public GButton m_btnVote;        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_mask = (GGraph)comp.GetChild("mask");            m_loaPicture = (GLoader)comp.GetChild("loaPicture");            m_btnback = (GButton)comp.GetChild("btnback");            m_comHead = (GComponent)comp.GetChild("comHead");            m_txtName = (GTextField)comp.GetChild("txtName");            m_btnAddFriend = (GButton)comp.GetChild("btnAddFriend");            m_btnDelete = (GButton)comp.GetChild("btnDelete");            m_txtLvl = (GTextField)comp.GetChild("txtLvl");            m_txtTheme = (GTextField)comp.GetChild("txtTheme");            m_btnCollect = (GButton)comp.GetChild("btnCollect");            m_btnVote = (GButton)comp.GetChild("btnVote");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_mask = null;            m_loaPicture = null;            m_btnback = null;            m_comHead = null;            m_txtName = null;            m_btnAddFriend = null;            m_btnDelete = null;            m_txtLvl = null;            m_txtTheme = null;            m_btnCollect = null;            m_btnVote = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |