/** 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_Bg; public GButton m_btnBack; public GLoader m_BgOne; 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 GGraph m_effectBg; 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_Bg = (GLoader)comp.GetChild("Bg"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_BgOne = (GLoader)comp.GetChild("BgOne"); 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"); m_effectBg = (GGraph)comp.GetChild("effectBg"); } public void Dispose(bool disposeTarget = false) { m_Bg = null; m_btnBack = null; m_BgOne = 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; m_effectBg = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }