/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.MiniGame { public partial class UI_GameStartUI { public GComponent target; public GLoader m_bg; public GLoader m_btnBack; public UI_Component2 m_rewardBtn; public GLoader m_shopBtn; public GLoader m_ticket; public GLoader m_addIcon; public GTextField m_ticketNum; public GLoader m_game1; public GGraph m_effectIcon1; public GGraph m_effectText1; public GLoader m_tipsOne; public GLoader m_needIcon1; public GTextField m_needNum1; public GLoader m_game2; public GGraph m_effectIcon2; public GGraph m_effectText2; public GLoader m_tipsTwo; public GLoader m_needIcon2; public GTextField m_needNum2; public const string URL = "ui://wgkh30qjlw8c21"; public const string PACKAGE_NAME = "MiniGame"; public const string RES_NAME = "GameStartUI"; private static UI_GameStartUI _proxy; public static UI_GameStartUI Create(GObject gObject = null) { var ui = new UI_GameStartUI(); 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_GameStartUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_GameStartUI(); } 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 = (GLoader)comp.GetChild("btnBack"); m_rewardBtn = (UI_Component2)UI_Component2.Create(comp.GetChild("rewardBtn")); m_shopBtn = (GLoader)comp.GetChild("shopBtn"); m_ticket = (GLoader)comp.GetChild("ticket"); m_addIcon = (GLoader)comp.GetChild("addIcon"); m_ticketNum = (GTextField)comp.GetChild("ticketNum"); m_game1 = (GLoader)comp.GetChild("game1"); m_effectIcon1 = (GGraph)comp.GetChild("effectIcon1"); m_effectText1 = (GGraph)comp.GetChild("effectText1"); m_tipsOne = (GLoader)comp.GetChild("tipsOne"); m_needIcon1 = (GLoader)comp.GetChild("needIcon1"); m_needNum1 = (GTextField)comp.GetChild("needNum1"); m_game2 = (GLoader)comp.GetChild("game2"); m_effectIcon2 = (GGraph)comp.GetChild("effectIcon2"); m_effectText2 = (GGraph)comp.GetChild("effectText2"); m_tipsTwo = (GLoader)comp.GetChild("tipsTwo"); m_needIcon2 = (GLoader)comp.GetChild("needIcon2"); m_needNum2 = (GTextField)comp.GetChild("needNum2"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_btnBack = null; m_rewardBtn.Dispose(); m_rewardBtn = null; m_shopBtn = null; m_ticket = null; m_addIcon = null; m_ticketNum = null; m_game1 = null; m_effectIcon1 = null; m_effectText1 = null; m_tipsOne = null; m_needIcon1 = null; m_needNum1 = null; m_game2 = null; m_effectIcon2 = null; m_effectText2 = null; m_tipsTwo = null; m_needIcon2 = null; m_needNum2 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }