s&box docs

public class Sandbox.RequireComponentAttribute : System.Attribute

When added to a property on a Component, we'll try to make that component value non null. We will first look on the GameObject for the component type. If it's not found, we'll create one.

Constructors

Showing 1 constructors

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.System
Doc IDT:Sandbox.RequireComponentAttribute

On this page