robot_2Generated
code_blocksInput

Description

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.

Usage

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

// 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);