ZhaoHuiAccountView.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using UI.Login;
  2. using FairyGUI;
  3. using UnityEngine;
  4. using System.ComponentModel;
  5. using System;
  6. using System.Collections.Generic;
  7. namespace GFGGame
  8. {
  9. public class ZhaoHuiAccountView : BaseWindow
  10. {
  11. private UI_ZhaoHuiAccountUI _ui;
  12. public override void Dispose()
  13. {
  14. if (_ui != null)
  15. {
  16. _ui.Dispose();
  17. _ui = null;
  18. }
  19. base.Dispose();
  20. }
  21. protected override void OnInit()
  22. {
  23. base.OnInit();
  24. packageName = UI_ZhaoHuiAccountUI.PACKAGE_NAME;
  25. _ui = UI_ZhaoHuiAccountUI.Create();
  26. this.viewCom = _ui.target;
  27. this.viewCom.Center();
  28. this.modal = true;
  29. }
  30. protected override void OnShown()
  31. {
  32. base.OnShown();
  33. //
  34. }
  35. protected override void OnHide()
  36. {
  37. base.OnHide();
  38. }
  39. protected override void AddEventListener()
  40. {
  41. base.AddEventListener();
  42. }
  43. protected override void RemoveEventListener()
  44. {
  45. base.RemoveEventListener();
  46. }
  47. }
  48. }