Update WindowAttribute.cs

This commit is contained in:
ALEXTANG
2023-04-03 20:43:15 +08:00
parent aa6455f23e
commit 3f22fb72ee

View File

@@ -6,7 +6,12 @@ namespace TEngine
public class WindowAttribute : Attribute public class WindowAttribute : Attribute
{ {
/// <summary> /// <summary>
/// 资源实体可寻址路径/路径。 /// 窗口层级
/// </summary>
public int WindowLayer;
/// <summary>
/// 资源定位地址。
/// </summary> /// </summary>
public string AssetName; public string AssetName;
@@ -15,8 +20,9 @@ namespace TEngine
/// </summary> /// </summary>
public bool FullScreen; public bool FullScreen;
public WindowAttribute(string assetName, bool fullScreen = false) public WindowAttribute(int windowLayer,string assetName = "", bool fullScreen = false)
{ {
WindowLayer = windowLayer;
AssetName = assetName; AssetName = assetName;
FullScreen = fullScreen; FullScreen = fullScreen;
} }