UIEventComponent.cs 454 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace ET.Client
  5. {
  6. /// <summary>
  7. /// 管理所有UI GameObject
  8. /// </summary>
  9. [ComponentOf(typeof(Scene))]
  10. public class UIEventComponent: Entity, IAwake
  11. {
  12. public static UIEventComponent Instance;
  13. public Dictionary<string, AUIEvent> UIEvents = new Dictionary<string, AUIEvent>();
  14. public Dictionary<int, Transform> UILayers = new Dictionary<int, Transform>();
  15. }
  16. }