IUIView.cs 654 B

12345678910111213141516171819202122232425262728
  1. using XGame.Framework.Interfaces;
  2. namespace XGame.Framework.UI.View
  3. {
  4. /// <summary>
  5. /// UI对象的管理接口
  6. /// 管理UIPanel,UIController,UIViewModel等
  7. /// </summary>
  8. public interface IUIView : IUpdate, ILateUpdate
  9. {
  10. /// <summary>
  11. /// Panel实例
  12. /// </summary>
  13. IUIPanel Panel { get; }
  14. /// <summary>
  15. /// 激活状态
  16. /// </summary>
  17. bool Active { get; }
  18. /// <summary>
  19. /// 激活
  20. /// </summary>
  21. void Enable(object intent = null);
  22. /// <summary>
  23. /// 隐藏
  24. /// </summary>
  25. void Disable();
  26. }
  27. }