using System; using System.Collections.Generic; using ET; using FairyGUI; using UI.CommonGame; using UI.EnduringGiftBox; using UnityEngine; namespace GFGGame { public class EnduringGiftBoxView : BaseWindow { private UI_EnduringGiftBoxUI _ui; public override void Dispose() { base.Dispose(); if (_ui != null) { _ui.Dispose(); _ui = null; } } protected override void OnInit() { base.OnInit(); packageName = UI_EnduringGiftBoxUI.PACKAGE_NAME; _ui = UI_EnduringGiftBoxUI.Create(); this.viewCom = _ui.target; this.viewCom.Center(); this.modal = true; } protected override void AddEventListener() { base.AddEventListener(); } protected override void OnShown() { base.OnShown(); UpdateView(); } protected override void OnHide() { base.OnHide(); } protected override void RemoveEventListener() { base.RemoveEventListener(); } private void UpdateView() { } } }