123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Task
- {
- public partial class UI_CombTaskUI
- {
- public GComponent target;
- public Controller m_c1;
- public UI_LivenessRewardProcess m_LivenessProcess;
- public GList m_TaskList;
- public GButton m_btnDailyTask;
- public GButton m_btnBattlePassTask;
- public GButton m_GetAll;
- public const string URL = "ui://5mpsibzzfqor2p";
- public const string PACKAGE_NAME = "Task";
- public const string RES_NAME = "CombTaskUI";
- private static UI_CombTaskUI _proxy;
- public static UI_CombTaskUI Create(GObject gObject = null)
- {
- var ui = new UI_CombTaskUI();
- 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_CombTaskUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_CombTaskUI();
- }
- 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_LivenessProcess = (UI_LivenessRewardProcess)UI_LivenessRewardProcess.Create(comp.GetChild("LivenessProcess"));
- m_TaskList = (GList)comp.GetChild("TaskList");
- m_btnDailyTask = (GButton)comp.GetChild("btnDailyTask");
- m_btnBattlePassTask = (GButton)comp.GetChild("btnBattlePassTask");
- m_GetAll = (GButton)comp.GetChild("GetAll");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_LivenessProcess.Dispose();
- m_LivenessProcess = null;
- m_TaskList = null;
- m_btnDailyTask = null;
- m_btnBattlePassTask = null;
- m_GetAll = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|