UIComponent

UIComponent
This commit is contained in:
ALEXTANG
2023-04-03 18:54:48 +08:00
parent 99ff4a443f
commit 7ef52245ac
29 changed files with 650 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System;
namespace TEngine
{
[AttributeUsage(AttributeTargets.Class)]
public class WindowAttribute : Attribute
{
/// <summary>
/// 资源实体可寻址路径/路径。
/// </summary>
public string AssetName;
/// <summary>
/// 全屏窗口标记。
/// </summary>
public bool FullScreen;
public WindowAttribute(string assetName, bool fullScreen = false)
{
AssetName = assetName;
FullScreen = fullScreen;
}
}
}