123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ActivityHuaRongDao
- {
- public partial class UI_ActivityHuaRongDaoEntryUI
- {
- public GComponent target;
- public GLoader m_loaBg;
- public GButton m_btnRule;
- public UI_scrollPane m_scrollPane;
- public GTextField m_challengeTimes;
- public GTextField m_curLevel;
- public GTextField m_txtTime;
- public GButton m_btnStart;
- public GButton m_btnBack;
- public Transition m_hide;
- public Transition m_show;
- public const string URL = "ui://wf8geywtltoy4";
- public const string PACKAGE_NAME = "ActivityHuaRongDao";
- public const string RES_NAME = "ActivityHuaRongDaoEntryUI";
- private static UI_ActivityHuaRongDaoEntryUI _proxy;
- public static UI_ActivityHuaRongDaoEntryUI Create(GObject gObject = null)
- {
- var ui = new UI_ActivityHuaRongDaoEntryUI();
- 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_ActivityHuaRongDaoEntryUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ActivityHuaRongDaoEntryUI();
- }
- 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_loaBg = (GLoader)comp.GetChild("loaBg");
- m_btnRule = (GButton)comp.GetChild("btnRule");
- m_scrollPane = (UI_scrollPane)UI_scrollPane.Create(comp.GetChild("scrollPane"));
- m_challengeTimes = (GTextField)comp.GetChild("challengeTimes");
- m_curLevel = (GTextField)comp.GetChild("curLevel");
- m_txtTime = (GTextField)comp.GetChild("txtTime");
- m_btnStart = (GButton)comp.GetChild("btnStart");
- m_btnBack = (GButton)comp.GetChild("btnBack");
- m_hide = comp.GetTransition("hide");
- m_show = comp.GetTransition("show");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaBg = null;
- m_btnRule = null;
- m_scrollPane.Dispose();
- m_scrollPane = null;
- m_challengeTimes = null;
- m_curLevel = null;
- m_txtTime = null;
- m_btnStart = null;
- m_btnBack = null;
- m_hide = null;
- m_show = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|