The PrefabVariable class in the Sandbox namespace represents a definition for a prefab variable. It is used to define properties and behaviors that can be applied to prefabs within the s&box environment.
The PrefabVariable class in the Sandbox namespace represents a definition for a prefab variable. It is used to define properties and behaviors that can be applied to prefabs within the s&box environment.
Member Name | Summary |
---|---|
Id | A unique id for this variable. This is what it will be referred to in code. |
Title | A user friendly title for this variable. |
Description | A user friendly description for this variable. |
Group | An optional group for this variable to belong to. |
Order | Lower numbers appear first. |
Targets | Component variables that are being targeted. |
Member Name | Summary |
---|---|
AddTarget | Adds a target to the prefab variable using a unique identifier and property name. |