API ReferenceSandbox
public class Sandbox.PrefabVariableObsolete
A prefab variable definition
Obsolete
This API type is obsolete.
Constructors
Showing 1 constructors
public PrefabVariable()
No results match this filter.
Methods
Showing 1 methods
public void AddTarget(System.Guid id, string propertyName)
Add a target property
No results match this filter.
Properties
Showing 6 properties
public string Sandbox.PrefabVariable.Description { get; set; }
A user friendly description for this variable
public string Sandbox.PrefabVariable.Group { get; set; }
An optional group for this variable to belong to
public string Sandbox.PrefabVariable.Id { get; set; }
A unique id for this variable. This is what it will be referred to in code.
public int Sandbox.PrefabVariable.Order { get; set; }
Lower numbers appear first
public System.Collections.Generic.List`1<Sandbox.PrefabVariable.PrefabVariableTarget> Sandbox.PrefabVariable.Targets { get; set; }
Component variables that are being targetted
public string Sandbox.PrefabVariable.Title { get; set; }
A user friendly title for this variable
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.PrefabVariable |