s&box docs

public static abstract sealed class Sandbox.Doo.Methods

Built-in static methods available to Doo scripts.

Broader workflow and conceptual references connected to this API.

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: True
  • networked: Default: True

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.

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Doo.Methods

On this page