mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update WindowAttribute.cs
This commit is contained in:
@@ -20,29 +20,27 @@ namespace TEngine
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 窗口层级
|
/// 窗口层级
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int WindowLayer;
|
public readonly int WindowLayer;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 资源定位地址。
|
/// 资源定位地址。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string AssetName;
|
public readonly string Location;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 全屏窗口标记。
|
/// 全屏窗口标记。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool FullScreen;
|
public readonly bool FullScreen;
|
||||||
|
public WindowAttribute(int windowLayer,string location = "", bool fullScreen = false)
|
||||||
public WindowAttribute(int windowLayer,string assetName = "", bool fullScreen = false)
|
|
||||||
{
|
{
|
||||||
WindowLayer = windowLayer;
|
WindowLayer = windowLayer;
|
||||||
AssetName = assetName;
|
Location = location;
|
||||||
FullScreen = fullScreen;
|
FullScreen = fullScreen;
|
||||||
}
|
}
|
||||||
|
|
||||||
public WindowAttribute(UILayer windowLayer,string assetName = "", bool fullScreen = false)
|
public WindowAttribute(UILayer windowLayer,string location = "", bool fullScreen = false)
|
||||||
{
|
{
|
||||||
WindowLayer = (int)windowLayer;
|
WindowLayer = (int)windowLayer;
|
||||||
AssetName = assetName;
|
Location = location;
|
||||||
FullScreen = fullScreen;
|
FullScreen = fullScreen;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user