| Parameter | Description |
|---|---|
| window | The GameWindow instance this extension method is implicitly called on. |
| zOrder | The z-order value. Higher values appear on top of lower values. |
AsyncOperation An AsyncOperation that you can use to track the completion of the z-order update operation.
Sets the z-order for the specified window on QNX. This is an extension method for GameWindow.
The z-order determines whether the window displays in front of or behind other windows. Higher values place the window on top of windows with lower values.
Notes:
AsyncOperation that you can use to track the completion of the operation.using UnityEngine; using UnityEngine.Windowing; using UnityEngine.Windowing.QNX;
public class SetZOrderExample : MonoBehaviour { void Start() { AsyncOperation op = GameWindow.Main.SetZOrder(10);
op.completed += _ => { Debug.Log($"Z-order set for {GameWindow.Main.GetTitle()}"); }; } }