WindowFlags WindowStaysOnBottomHint

robot_2Generated
code_blocksInput

Description

The WindowStaysOnBottomHint field is a member of the Editor.WindowFlags enumeration. It is used to specify that a window should remain below other windows, effectively staying at the bottom of the window stack. This can be useful for creating windows that should not interfere with the user's workflow by appearing above other windows.

Usage

To use the WindowStaysOnBottomHint flag, you can combine it with other WindowFlags using a bitwise OR operation. This allows you to customize the behavior and appearance of a window in the editor environment.

Example

// Example of using WindowStaysOnBottomHint
var windowFlags = Editor.WindowFlags.Window | Editor.WindowFlags.WindowStaysOnBottomHint;

// Apply the flags to a window
EditorWindow myWindow = new EditorWindow();
myWindow.SetWindowFlags(windowFlags);
myWindow.Show();