s&box docs

public class Sandbox.Doo.TargetComponent

Abstracts a link to a component - which can be * An actual component * A GameObject and a component type * A Variable (GameObject or Component) and a component type

Constructors

Showing 1 constructors

Methods

Showing 4 methods

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

public System.Type GetComponentType()

public static override object JsonRead(System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert)

public static override void JsonWrite(object value, System.Text.Json.Utf8JsonWriter writer)

Properties

Showing 6 properties

public string Sandbox.Doo.TargetComponent.ComponentType { get; set; }

The type of Component we want to access. This allows us to select members that exist on this type.

public string Sandbox.Doo.TargetComponent.VariableName { get; set; }

The name of the variable we're going to use. This can be a GameObject or a Component.

Metadata

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

On this page