1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using ET;
- using FairyGUI;
- using UI.ActivityThemeLuckyBox;
- using UnityEngine;
- namespace GFGGame
- {
- public class ActivityThemeLuckyBoxTaskView : BaseWindow
- {
- private UI_ActivityThemeLuckyBoxTaskUI _ui;
- public override void Dispose()
- {
- if (_ui != null)
- {
- _ui.Dispose();
- _ui = null;
- }
- base.Dispose();
- }
- protected override void OnInit()
- {
- base.OnInit();
- packageName = UI_ActivityThemeLuckyBoxTaskUI.PACKAGE_NAME;
- _ui = UI_ActivityThemeLuckyBoxTaskUI.Create();
- this.viewCom = _ui.target;
- this.viewCom.Center();
- this.modal = true;
- viewAnimationType = EnumViewAnimationType.ZOOM_CENTER;
- }
- protected override void AddEventListener()
- {
- base.AddEventListener();
- }
- protected override void OnShown()
- {
- base.OnShown();
- }
- protected override void OnHide()
- {
- base.OnHide();
- }
- protected override void RemoveEventListener()
- {
- base.RemoveEventListener();
- }
- }
- }
|