/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Task { public partial class UI_BattlePassReward { public GComponent target; public Controller m_c1; public Controller m_c2; public GComponent m_NormalReward; public GTextField m_Level; public GList m_RewardList; public const string URL = "ui://5mpsibzzor80tlw"; public const string PACKAGE_NAME = "Task"; public const string RES_NAME = "BattlePassReward"; private static UI_BattlePassReward _proxy; public static UI_BattlePassReward Create(GObject gObject = null) { var ui = new UI_BattlePassReward(); 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_BattlePassReward Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_BattlePassReward(); } 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_c1 = comp.GetController("c1"); m_c2 = comp.GetController("c2"); m_NormalReward = (GComponent)comp.GetChild("NormalReward"); m_Level = (GTextField)comp.GetChild("Level"); m_RewardList = (GList)comp.GetChild("RewardList"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_c2 = null; m_NormalReward = null; m_Level = null; m_RewardList = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }