27 lines
454 B
C#
27 lines
454 B
C#
using System.Collections.Generic;
|
|
|
|
namespace ET.Client
|
|
{
|
|
/// <summary>
|
|
/// 管理Scene上的UI
|
|
/// </summary>
|
|
[ComponentOf]
|
|
public class UIComponent: Entity, IAwake
|
|
{
|
|
public Dictionary<string, EntityRef<UI>> UIs = new();
|
|
|
|
private EntityRef<UIGlobalComponent> uiGlobalComponent;
|
|
|
|
public UIGlobalComponent UIGlobalComponent
|
|
{
|
|
get
|
|
{
|
|
return this.uiGlobalComponent;
|
|
}
|
|
set
|
|
{
|
|
this.uiGlobalComponent = value;
|
|
}
|
|
}
|
|
}
|
|
} |