| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Main{    public partial class UI_CompStoryLevelItem    {        public GComponent target;        public Controller m_c1;        public Controller m_c2;        public UI_ComDialogBg m_comDialogBg;        public GLoader m_loaDialogBg;        public GTextField m_txtDialogOrder;        public GTextField m_txtName;        public GTextField m_txtFightOrder;        public UI_CompFlower2 m_flower;        public GGraph m_holder;        public const string URL = "ui://mfvz4q8ko4m7fqd";        public const string PACKAGE_NAME = "Main";        public const string RES_NAME = "CompStoryLevelItem";        private static UI_CompStoryLevelItem _proxy;        public static UI_CompStoryLevelItem Create(GObject gObject = null)        {            var ui = new UI_CompStoryLevelItem();            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_CompStoryLevelItem Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_CompStoryLevelItem();            }            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_comDialogBg = (UI_ComDialogBg)UI_ComDialogBg.Create(comp.GetChild("comDialogBg"));            m_loaDialogBg = (GLoader)comp.GetChild("loaDialogBg");            m_txtDialogOrder = (GTextField)comp.GetChild("txtDialogOrder");            m_txtName = (GTextField)comp.GetChild("txtName");            m_txtFightOrder = (GTextField)comp.GetChild("txtFightOrder");            m_flower = (UI_CompFlower2)UI_CompFlower2.Create(comp.GetChild("flower"));            m_holder = (GGraph)comp.GetChild("holder");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_c2 = null;            m_comDialogBg.Dispose();            m_comDialogBg = null;            m_loaDialogBg = null;            m_txtDialogOrder = null;            m_txtName = null;            m_txtFightOrder = null;            m_flower.Dispose();            m_flower = null;            m_holder = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |