SystemNoticeView.cs 767 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using FairyGUI;
  2. using UI.Login;
  3. namespace GFGGame
  4. {
  5. public class SystemNoticeView : BaseWindow
  6. {
  7. private UI_NoticeUI _ui;
  8. public override void Dispose()
  9. {
  10. base.Dispose();
  11. }
  12. protected override void OnInit()
  13. {
  14. base.OnInit();
  15. _ui = UI_NoticeUI.Create();
  16. this.viewCom = _ui.target;
  17. this.viewCom.Center();
  18. this.modal = true;
  19. _ui.m_txtTitle.text = "公 告";
  20. _ui.m_txtContent.text = "玩命开发中,敬请期待!";
  21. }
  22. protected override void OnShown()
  23. {
  24. base.OnShown();
  25. }
  26. protected override void OnHide()
  27. {
  28. base.OnHide();
  29. }
  30. }
  31. }