Files
TEngine/Assets/TEngine/Runtime/GameFramework/UI/WindowAttribute.cs
ALEXTANG 7ef52245ac UIComponent
UIComponent
2023-04-03 18:54:48 +08:00

24 lines
548 B
C#

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;
}
}
}