UIEventComponent.cs 417 B

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