/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Task { public partial class UI_BattlePassRewardUI { public GComponent target; public GTextField m_LeftTime; public UI_ExpProcess m_LevelProcess; public GButton m_btnOpen; public GList m_RewardList; public UI_BattlePassRewardItem m_NowReward; public GButton m_btnGetAll; public const string URL = "ui://5mpsibzznd173r"; public const string PACKAGE_NAME = "Task"; public const string RES_NAME = "BattlePassRewardUI"; private static UI_BattlePassRewardUI _proxy; public static UI_BattlePassRewardUI Create(GObject gObject = null) { var ui = new UI_BattlePassRewardUI(); 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_BattlePassRewardUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_BattlePassRewardUI(); } 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_LeftTime = (GTextField)comp.GetChild("LeftTime"); m_LevelProcess = (UI_ExpProcess)UI_ExpProcess.Create(comp.GetChild("LevelProcess")); m_btnOpen = (GButton)comp.GetChild("btnOpen"); m_RewardList = (GList)comp.GetChild("RewardList"); m_NowReward = (UI_BattlePassRewardItem)UI_BattlePassRewardItem.Create(comp.GetChild("NowReward")); m_btnGetAll = (GButton)comp.GetChild("btnGetAll"); } public void Dispose(bool disposeTarget = false) { m_LeftTime = null; m_LevelProcess.Dispose(); m_LevelProcess = null; m_btnOpen = null; m_RewardList = null; m_NowReward.Dispose(); m_NowReward = null; m_btnGetAll = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }