123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Task
- {
- public partial class UI_BattlePassRewardItem
- {
- public GComponent target;
- public Controller m_c1;
- public UI_RewardIconBlue m_NormalReward;
- public GButton m_GetRewardBt;
- public GButton m_ContinueBt;
- public GButton m_ComeBt;
- public GButton m_HadGet;
- public GTextField m_Level;
- public GList m_RewardList;
- public const string URL = "ui://5mpsibzznd173u";
- public const string PACKAGE_NAME = "Task";
- public const string RES_NAME = "BattlePassRewardItem";
- private static UI_BattlePassRewardItem _proxy;
- public static UI_BattlePassRewardItem Create(GObject gObject = null)
- {
- var ui = new UI_BattlePassRewardItem();
- 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_BattlePassRewardItem Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_BattlePassRewardItem();
- }
- 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_NormalReward = (UI_RewardIconBlue)UI_RewardIconBlue.Create(comp.GetChild("NormalReward"));
- m_GetRewardBt = (GButton)comp.GetChild("GetRewardBt");
- m_ContinueBt = (GButton)comp.GetChild("ContinueBt");
- m_ComeBt = (GButton)comp.GetChild("ComeBt");
- m_HadGet = (GButton)comp.GetChild("HadGet");
- m_Level = (GTextField)comp.GetChild("Level");
- m_RewardList = (GList)comp.GetChild("RewardList");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_NormalReward.Dispose();
- m_NormalReward = null;
- m_GetRewardBt = null;
- m_ContinueBt = null;
- m_ComeBt = null;
- m_HadGet = null;
- m_Level = null;
- m_RewardList = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|