SpecialOfferGiftBoxView.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using ET;
  5. using FairyGUI;
  6. using UI.EnduringGiftBox;
  7. using UnityEngine;
  8. namespace GFGGame
  9. {
  10. //列表样式的限时礼包--3类型-列表样式:等级条件的数据
  11. public class SpecialOfferGiftBoxView : BaseWindow
  12. {
  13. private UI_SpecialOfferGiftBoxUI _ui;
  14. protected override void OnInit()
  15. {
  16. base.OnInit();
  17. }
  18. public override void Dispose()
  19. {
  20. if (_ui != null)
  21. {
  22. _ui.Dispose();
  23. _ui = null;
  24. }
  25. base.Dispose();
  26. }
  27. protected override void OnShown()
  28. {
  29. base.OnShown();
  30. AddEffect();
  31. UpdateView();
  32. }
  33. protected override void AddEventListener()
  34. {
  35. base.AddEventListener();
  36. }
  37. protected override void RemoveEventListener()
  38. {
  39. base.RemoveEventListener();
  40. }
  41. private void AddEffect()
  42. {
  43. }
  44. private void UpdateView()
  45. {
  46. }
  47. private void ListItemRender(int index, GObject obj)
  48. {
  49. }
  50. private void ChildListItemRender(int index, GObject obj)
  51. {
  52. }
  53. protected override void OnHide()
  54. {
  55. this.RemoveEventListener();
  56. Dispose();
  57. base.Hide();
  58. }
  59. private void OnClickBtnCancel()
  60. {
  61. this.Hide();
  62. }
  63. }
  64. }