mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
24 lines
548 B
C#
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;
|
|
}
|
|
}
|
|
} |