s&box docs

public static abstract sealed class Editor.GameMode

Registers a widget with the input system, so it uses SDL.

Methods

Showing 2 methods

public static void ClearPlayMode()

public static void SetPlayWidget(Editor.SceneRenderingWidget widget)

Given a widget, register it for SDL input, and tell the engine this is the swapchain we have

Metadata

FieldValue
NamespaceEditor
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.GameMode

On this page