123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ActivityAfternoonTea
- {
- public partial class UI_ActivityTeaMainUI
- {
- public GComponent target;
- public GLoader m_loaBg;
- public GButton m_btnBack;
- public GLoader m_titleBg;
- public GLoader m_oneTimeIcon;
- public GButton m_oneViewIcon;
- public GLoader m_oneNameIcon;
- public GLoader m_twoTimeIcon;
- public GButton m_twoViewIcon;
- public GLoader m_twoNameIcon;
- public GLoader m_threeTimeIcon;
- public GButton m_threeViewIcon;
- public GLoader m_threeNameIcon;
- public const string URL = "ui://wpsqkdbznjon0";
- public const string PACKAGE_NAME = "ActivityAfternoonTea";
- public const string RES_NAME = "ActivityTeaMainUI";
- private static UI_ActivityTeaMainUI _proxy;
- public static UI_ActivityTeaMainUI Create(GObject gObject = null)
- {
- var ui = new UI_ActivityTeaMainUI();
- 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_ActivityTeaMainUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ActivityTeaMainUI();
- }
- 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_btnBack = (GButton)comp.GetChild("btnBack");
- m_titleBg = (GLoader)comp.GetChild("titleBg");
- m_oneTimeIcon = (GLoader)comp.GetChild("oneTimeIcon");
- m_oneViewIcon = (GButton)comp.GetChild("oneViewIcon");
- m_oneNameIcon = (GLoader)comp.GetChild("oneNameIcon");
- m_twoTimeIcon = (GLoader)comp.GetChild("twoTimeIcon");
- m_twoViewIcon = (GButton)comp.GetChild("twoViewIcon");
- m_twoNameIcon = (GLoader)comp.GetChild("twoNameIcon");
- m_threeTimeIcon = (GLoader)comp.GetChild("threeTimeIcon");
- m_threeViewIcon = (GButton)comp.GetChild("threeViewIcon");
- m_threeNameIcon = (GLoader)comp.GetChild("threeNameIcon");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaBg = null;
- m_btnBack = null;
- m_titleBg = null;
- m_oneTimeIcon = null;
- m_oneViewIcon = null;
- m_oneNameIcon = null;
- m_twoTimeIcon = null;
- m_twoViewIcon = null;
- m_twoNameIcon = null;
- m_threeTimeIcon = null;
- m_threeViewIcon = null;
- m_threeNameIcon = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|