IUIControllerGroup.cs 498 B

1234567891011121314151617
  1. namespace XGame.Framework.UI
  2. {
  3. public interface IUIControllerGroup
  4. {
  5. /// <summary>
  6. /// 增加
  7. /// </summary>
  8. /// <param name="controller"></param>
  9. /// <param name="isStatic">静态的内部会帮忙初始化</param>
  10. void Add(IUIController controller, bool isStatic = true);
  11. /// <summary>
  12. /// 移除
  13. /// </summary>
  14. /// <param name="controller"></param>
  15. void Remove(IUIController controller);
  16. }
  17. }