/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Task { public partial class UI_BuyBattlePassLevelUI { public GComponent target; public GButton m_CloseBtn; public GList m_Rewards; public GTextField m_Tip; public GImage m_Add; public GImage m_Reduce; public GButton m_AddLevelBtn; public const string URL = "ui://5mpsibzzor80tm1"; public const string PACKAGE_NAME = "Task"; public const string RES_NAME = "BuyBattlePassLevelUI"; private static UI_BuyBattlePassLevelUI _proxy; public static UI_BuyBattlePassLevelUI Create(GObject gObject = null) { var ui = new UI_BuyBattlePassLevelUI(); 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_BuyBattlePassLevelUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_BuyBattlePassLevelUI(); } 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_CloseBtn = (GButton)comp.GetChild("CloseBtn"); m_Rewards = (GList)comp.GetChild("Rewards"); m_Tip = (GTextField)comp.GetChild("Tip"); m_Add = (GImage)comp.GetChild("Add"); m_Reduce = (GImage)comp.GetChild("Reduce"); m_AddLevelBtn = (GButton)comp.GetChild("AddLevelBtn"); } public void Dispose(bool disposeTarget = false) { m_CloseBtn = null; m_Rewards = null; m_Tip = null; m_Add = null; m_Reduce = null; m_AddLevelBtn = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }