API ReferenceSandbox
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
public RequireComponentAttribute()
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.RequireComponentAttribute |