mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
UIComponent
UIComponent
This commit is contained in:
24
Assets/TEngine/Runtime/GameFramework/UI/WindowAttribute.cs
Normal file
24
Assets/TEngine/Runtime/GameFramework/UI/WindowAttribute.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user