/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.MiniGame { public partial class UI_FlipGameUI { public GComponent target; public GLoader m_loaBg; public GList m_cardList; public GLoader m_back; public GTextField m_timeText; public GProgressBar m_ScareBar; public GImage m_star11; public GGroup m_star1; public GImage m_star21; public GImage m_star22; public GGroup m_star2; public GImage m_star31; public GImage m_star32; public GImage m_star33; public GGroup m_star3; public const string URL = "ui://wgkh30qjjmg10"; public const string PACKAGE_NAME = "MiniGame"; public const string RES_NAME = "FlipGameUI"; private static UI_FlipGameUI _proxy; public static UI_FlipGameUI Create(GObject gObject = null) { var ui = new UI_FlipGameUI(); 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_FlipGameUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_FlipGameUI(); } 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_cardList = (GList)comp.GetChild("cardList"); m_back = (GLoader)comp.GetChild("back"); m_timeText = (GTextField)comp.GetChild("timeText"); m_ScareBar = (GProgressBar)comp.GetChild("ScareBar"); m_star11 = (GImage)comp.GetChild("star11"); m_star1 = (GGroup)comp.GetChild("star1"); m_star21 = (GImage)comp.GetChild("star21"); m_star22 = (GImage)comp.GetChild("star22"); m_star2 = (GGroup)comp.GetChild("star2"); m_star31 = (GImage)comp.GetChild("star31"); m_star32 = (GImage)comp.GetChild("star32"); m_star33 = (GImage)comp.GetChild("star33"); m_star3 = (GGroup)comp.GetChild("star3"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_cardList = null; m_back = null; m_timeText = null; m_ScareBar = null; m_star11 = null; m_star1 = null; m_star21 = null; m_star22 = null; m_star2 = null; m_star31 = null; m_star32 = null; m_star33 = null; m_star3 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }