Api Sandbox PrefabVariable
class

PrefabVariable

public class PrefabVariable

A prefab variable definition

Attributes

[ Obsolete ]

Constructors

PrefabVariable()

Properties

Name Type Description
Id String A unique id for this variable. This is what it will be referred to in code.
Title String A user friendly title for this variable
Description String A user friendly description for this variable
Group String An optional group for this variable to belong to
Order Int32 Lower numbers appear first
Targets List<PrefabVariableTarget> Component variables that are being targetted

Methods

Void AddTarget(Guid id, String propertyName)

Add a target property

Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.PrefabVariable