The Editor.ScrollbarMode.Off
field is a member of the Editor.ScrollbarMode
enumeration. It specifies that the scrollbar should never be displayed, regardless of the content size or any other conditions.
The Editor.ScrollbarMode.Off
field is a member of the Editor.ScrollbarMode
enumeration. It specifies that the scrollbar should never be displayed, regardless of the content size or any other conditions.
Use Editor.ScrollbarMode.Off
when you want to ensure that the scrollbar is completely hidden in your editor interface. This can be useful in scenarios where the content is fully visible or when you want to maintain a clean UI without scrollbars.
// Example of setting the scrollbar mode to Off Editor.ScrollbarMode scrollbarMode = Editor.ScrollbarMode.Off; // Use the scrollbarMode in a hypothetical editor setup EditorWindow editorWindow = new EditorWindow(); editorWindow.SetScrollbarMode(scrollbarMode);