UIComponent.cs 281 B

1234567891011121314
  1. using System.Collections.Generic;
  2. namespace ET
  3. {
  4. /// <summary>
  5. /// 管理Scene上的UI
  6. /// </summary>
  7. [ChildType(typeof(UI))]
  8. [ComponentOf(typeof(Scene))]
  9. public class UIComponent: Entity, IAwake
  10. {
  11. public Dictionary<string, UI> UIs = new Dictionary<string, UI>();
  12. }
  13. }