12345678910111213141516171819202122232425262728 |
- using XGame.Framework.Interfaces;
- namespace XGame.Framework.UI.View
- {
- /// <summary>
- /// UI对象的管理接口
- /// 管理UIPanel,UIController,UIViewModel等
- /// </summary>
- public interface IUIView : IUpdate, ILateUpdate
- {
- /// <summary>
- /// Panel实例
- /// </summary>
- IUIPanel Panel { get; }
- /// <summary>
- /// 激活状态
- /// </summary>
- bool Active { get; }
- /// <summary>
- /// 激活
- /// </summary>
- void Enable(object intent = null);
- /// <summary>
- /// 隐藏
- /// </summary>
- void Disable();
- }
- }
|