| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Main{    public partial class UI_StoryLevelInfoUI    {        public GComponent target;        public Controller m_ctrlNeed;        public GLoader m_btnBg;        public GButton m_btnStart;        public GLoader m_loaderHead;        public GTextField m_txtTargetName;        public GTextField m_txtTitle;        public GTextField m_txtHighestScore;        public UI_CompFlower1 m_flower;        public GLoader m_scoreType;        public GRichTextField m_txtNeed;        public GList m_listTag;        public GRichTextField m_txtAddition;        public GButton m_btnAdditionDesc;        public GTextField m_txtAdditionDesc;        public GGroup m_grpAdditionDesc;        public GTextField m_txtLevelDesc;        public GList m_listBonus;        public GButton m_btnFightOnce;        public GButton m_btnFightTimes;        public GGroup m_groupPass;        public GLoader m_btnGuide;        public GTextField m_txtUnpassTips;        public GGroup m_groupUnpass;        public GComponent m_comCostCurrent;        public const string URL = "ui://mfvz4q8kvxw538";        public const string PACKAGE_NAME = "Main";        public const string RES_NAME = "StoryLevelInfoUI";        private static UI_StoryLevelInfoUI _proxy;        public static UI_StoryLevelInfoUI Create(GObject gObject = null)        {            var ui = new UI_StoryLevelInfoUI();            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_StoryLevelInfoUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_StoryLevelInfoUI();            }            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_ctrlNeed = comp.GetController("ctrlNeed");            m_btnBg = (GLoader)comp.GetChild("btnBg");            m_btnStart = (GButton)comp.GetChild("btnStart");            m_loaderHead = (GLoader)comp.GetChild("loaderHead");            m_txtTargetName = (GTextField)comp.GetChild("txtTargetName");            m_txtTitle = (GTextField)comp.GetChild("txtTitle");            m_txtHighestScore = (GTextField)comp.GetChild("txtHighestScore");            m_flower = (UI_CompFlower1)UI_CompFlower1.Create(comp.GetChild("flower"));            m_scoreType = (GLoader)comp.GetChild("scoreType");            m_txtNeed = (GRichTextField)comp.GetChild("txtNeed");            m_listTag = (GList)comp.GetChild("listTag");            m_txtAddition = (GRichTextField)comp.GetChild("txtAddition");            m_btnAdditionDesc = (GButton)comp.GetChild("btnAdditionDesc");            m_txtAdditionDesc = (GTextField)comp.GetChild("txtAdditionDesc");            m_grpAdditionDesc = (GGroup)comp.GetChild("grpAdditionDesc");            m_txtLevelDesc = (GTextField)comp.GetChild("txtLevelDesc");            m_listBonus = (GList)comp.GetChild("listBonus");            m_btnFightOnce = (GButton)comp.GetChild("btnFightOnce");            m_btnFightTimes = (GButton)comp.GetChild("btnFightTimes");            m_groupPass = (GGroup)comp.GetChild("groupPass");            m_btnGuide = (GLoader)comp.GetChild("btnGuide");            m_txtUnpassTips = (GTextField)comp.GetChild("txtUnpassTips");            m_groupUnpass = (GGroup)comp.GetChild("groupUnpass");            m_comCostCurrent = (GComponent)comp.GetChild("comCostCurrent");        }        public void Dispose(bool disposeTarget = false)        {            m_ctrlNeed = null;            m_btnBg = null;            m_btnStart = null;            m_loaderHead = null;            m_txtTargetName = null;            m_txtTitle = null;            m_txtHighestScore = null;            m_flower.Dispose();            m_flower = null;            m_scoreType = null;            m_txtNeed = null;            m_listTag = null;            m_txtAddition = null;            m_btnAdditionDesc = null;            m_txtAdditionDesc = null;            m_grpAdditionDesc = null;            m_txtLevelDesc = null;            m_listBonus = null;            m_btnFightOnce = null;            m_btnFightTimes = null;            m_groupPass = null;            m_btnGuide = null;            m_txtUnpassTips = null;            m_groupUnpass = null;            m_comCostCurrent = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |