123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Main
- {
- public partial class UI_StoryCardChooseUI
- {
- public GComponent target;
- public GImage m_bg;
- public GGraph m_holderLeftTop;
- public GGraph m_holderRightDowm;
- public GTextField m_txtName;
- public GButton m_btnCancel;
- public GButton m_btnConfirm;
- public GLoader m_loaScore;
- public GButton m_btnUpCard;
- public GTextField m_txtTips;
- public GList m_listSkill;
- public GList m_listCard;
- public UI_ComArenaSkillTips m_comSkillTips;
- public const string URL = "ui://mfvz4q8kr1a99d";
- public const string PACKAGE_NAME = "Main";
- public const string RES_NAME = "StoryCardChooseUI";
- private static UI_StoryCardChooseUI _proxy;
- public static UI_StoryCardChooseUI Create(GObject gObject = null)
- {
- var ui = new UI_StoryCardChooseUI();
- 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_StoryCardChooseUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_StoryCardChooseUI();
- }
- 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_bg = (GImage)comp.GetChild("bg");
- m_holderLeftTop = (GGraph)comp.GetChild("holderLeftTop");
- m_holderRightDowm = (GGraph)comp.GetChild("holderRightDowm");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_btnCancel = (GButton)comp.GetChild("btnCancel");
- m_btnConfirm = (GButton)comp.GetChild("btnConfirm");
- m_loaScore = (GLoader)comp.GetChild("loaScore");
- m_btnUpCard = (GButton)comp.GetChild("btnUpCard");
- m_txtTips = (GTextField)comp.GetChild("txtTips");
- m_listSkill = (GList)comp.GetChild("listSkill");
- m_listCard = (GList)comp.GetChild("listCard");
- m_comSkillTips = (UI_ComArenaSkillTips)UI_ComArenaSkillTips.Create(comp.GetChild("comSkillTips"));
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bg = null;
- m_holderLeftTop = null;
- m_holderRightDowm = null;
- m_txtName = null;
- m_btnCancel = null;
- m_btnConfirm = null;
- m_loaScore = null;
- m_btnUpCard = null;
- m_txtTips = null;
- m_listSkill = null;
- m_listCard = null;
- m_comSkillTips.Dispose();
- m_comSkillTips = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|