API Referenceglobal
public class Editor.Button.Primary : Editor.Button
A visually distinct button.
Related Guides
Broader workflow and conceptual references connected to this API.
Cloud Assets
There is a large selection of Assets (Textures, Models, Sounds, ect) available to use on sbox.game, and you can use them without needing to think about downloading the files/mounting the content/ect.
Editor Shortcuts
When creating a Tool or Editor Project, it's common to want to be able to trigger certain actions with a key press or combined keystroke (Like O to enter Object Mode, or SHIFT+B to enter the Block Tool).
Playing Sounds
s&box provides several ways to play sounds in code. You can fire-and-forget a sound at a world position, control it via a SoundHandle, attach it to a GameObject, or use scene components entirely.
Constructors
Showing 2 constructors
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.Button.Primary |