s&box docs

public class Sandbox.Doo.Block

Base class for all executable blocks within a Doo.

Broader workflow and conceptual references connected to this API.

Constructors

Showing 1 constructors

Methods

Showing 4 methods

public virtual void CollectArguments(System.Collections.Generic.HashSet`1<string> arguments)

public virtual string GetNodeString()

Returns a human-readable string describing this block for display in the editor.

public virtual bool HasBody()

Returns true if this can have child nodes

public virtual void Reset()

Reset this block to some sensible defaults. This is called when the block is first added, so this is a good opportunity to set up default values for properties.

Properties

Showing 1 properties

public System.Collections.Generic.List`1<Sandbox.Doo.Block> Sandbox.Doo.Block.Body { get; set; }

Optional list of child blocks nested inside this block.

Metadata

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

On this page