diff --git a/Assets/TEngine/Runtime/GameFramework/UI/WindowAttribute.cs b/Assets/TEngine/Runtime/GameFramework/UI/WindowAttribute.cs index e89496f6..9d11da1a 100644 --- a/Assets/TEngine/Runtime/GameFramework/UI/WindowAttribute.cs +++ b/Assets/TEngine/Runtime/GameFramework/UI/WindowAttribute.cs @@ -6,7 +6,12 @@ namespace TEngine public class WindowAttribute : Attribute { /// - /// 资源实体可寻址路径/路径。 + /// 窗口层级 + /// + public int WindowLayer; + + /// + /// 资源定位地址。 /// public string AssetName; @@ -15,8 +20,9 @@ namespace TEngine /// public bool FullScreen; - public WindowAttribute(string assetName, bool fullScreen = false) + public WindowAttribute(int windowLayer,string assetName = "", bool fullScreen = false) { + WindowLayer = windowLayer; AssetName = assetName; FullScreen = fullScreen; }