| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 | /** 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 Controller m_activityID;        public UI_ComDialogBg m_comDialogBg;        public GLoader m_loaDialogBg;        public GTextField m_txtDialogOrder;        public GTextField m_txtName;        public GLoader m_fightBg;        public GLoader m_fightIconA;        public GTextField m_txtFightOrder;        public GLoader m_fightIconB;        public UI_CompFlower2 m_flower;        public GGraph m_holder;        public Transition m_t0;        public Transition m_t1;        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_activityID = comp.GetController("activityID");            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_fightBg = (GLoader)comp.GetChild("fightBg");            m_fightIconA = (GLoader)comp.GetChild("fightIconA");            m_txtFightOrder = (GTextField)comp.GetChild("txtFightOrder");            m_fightIconB = (GLoader)comp.GetChild("fightIconB");            m_flower = (UI_CompFlower2)UI_CompFlower2.Create(comp.GetChild("flower"));            m_holder = (GGraph)comp.GetChild("holder");            m_t0 = comp.GetTransition("t0");            m_t1 = comp.GetTransition("t1");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_c2 = null;            m_activityID = null;            m_comDialogBg.Dispose();            m_comDialogBg = null;            m_loaDialogBg = null;            m_txtDialogOrder = null;            m_txtName = null;            m_fightBg = null;            m_fightIconA = null;            m_txtFightOrder = null;            m_fightIconB = null;            m_flower.Dispose();            m_flower = null;            m_holder = null;            m_t0 = null;            m_t1 = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |