12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- /** 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 Controller m_c1;
- public GTextField m_LeftTime;
- public UI_ExpProcess m_LevelProcess;
- public GButton m_btnBuyLevel;
- public GButton m_btnOpen;
- public GList m_RewardList;
- public GButton m_btnGetAll;
- public UI_BattlePassReward m_SpecialReward;
- 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_c1 = comp.GetController("c1");
- m_LeftTime = (GTextField)comp.GetChild("LeftTime");
- m_LevelProcess = (UI_ExpProcess)UI_ExpProcess.Create(comp.GetChild("LevelProcess"));
- m_btnBuyLevel = (GButton)comp.GetChild("btnBuyLevel");
- m_btnOpen = (GButton)comp.GetChild("btnOpen");
- m_RewardList = (GList)comp.GetChild("RewardList");
- m_btnGetAll = (GButton)comp.GetChild("btnGetAll");
- m_SpecialReward = (UI_BattlePassReward)UI_BattlePassReward.Create(comp.GetChild("SpecialReward"));
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_LeftTime = null;
- m_LevelProcess.Dispose();
- m_LevelProcess = null;
- m_btnBuyLevel = null;
- m_btnOpen = null;
- m_RewardList = null;
- m_btnGetAll = null;
- m_SpecialReward.Dispose();
- m_SpecialReward = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|