public static abstract sealed class Sandbox.Doo.Methods
Built-in static methods available to Doo scripts.
Related Guides
Broader workflow and conceptual references connected to this API.
ActionGraph is a visual scripting system that lets you create game logic using nodes instead of code. Connect nodes together to build behaviors, respond to events, and control your scene โ all from a graphical editor.
The fancy new way to do things in Vulkan / DX12 is bindless. This removes the limitations of the binding model allowing you to have access to far more textures and other resources within a shader and the ability to sample them from a dynamically provided identifier from buffers, vertex input, etc.
s&box has a [CodeGenerator] attribute that you can use to decorate another attribute specifically for use with methods and properties. It lets you wrap methods and properties to perform some other action when the method is called or the property is set or to return a different value when the property is read.
There are various interfaces that can be given to components for specific purposes.
When creating a component there are a number of methods you can override and implement.
You can create variables and commands that you can run from the console.
Methods
Showing 6 methods
public static Sandbox.GameObject GameObjectClone(Sandbox.GameObject gameObject, bool enabled = True, bool networked = True)
Clones a GameObject, optionally spawning it on the network.
Parameters
enabled: Default: Truenetworked: Default: True
public static Sandbox.GameObject GameObjectCloneEx(Sandbox.GameObject gameObject, Vector3 position, Rotation angles, Vector3 scale)
Clones a GameObject with an explicit position, rotation, and scale.
public static void GameObjectDestroy(Sandbox.GameObject gameObject)
Destroys the given GameObject.
public static void LogError(string text)
Logs an error message.
public static void LogInfo(string text)
Logs an informational message.
public static void LogWarning(string text)
Logs a warning message.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Doo.Methods |