using System.Collections.Generic; using FairyGUI; namespace ET { /// /// 管理所有顶层UI, 顶层UI都是GRoot的孩子 /// [ComponentOf(typeof(Scene))] public class FUIComponent: Entity, IAwake, IDestroy { public static FUIComponent Instance { get; set; } public FUI Root; public Dictionary AvailableWindows = new Dictionary(); public Dictionary AvailableUI = new Dictionary(); public bool IsButtonClicked { get; set; } public long ButtonAsyncEventTimer = 0; } }