PrefabVariableclass

A prefab variable definition

objectPrefabVariable
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public class Sandbox.PrefabVariable

Obsolete

This API type is obsolete.

Constructors1

Showing 1 constructors

Methods1

Showing 1 methods

public void AddTarget(System.Guid id, string propertyName)PUBLIC

Add a target property

ParameterTypeDescription
idGuid
propertyNamestring
Returns:void

Properties6

Showing 6 properties

public string Sandbox.PrefabVariable.Description { get; set; }PUBLICGETSET

A user friendly description for this variable

Returns:string

public string Sandbox.PrefabVariable.Group { get; set; }PUBLICGETSET

An optional group for this variable to belong to

Returns:string

public string Sandbox.PrefabVariable.Id { get; set; }PUBLICGETSET

A unique id for this variable. This is what it will be referred to in code.

Returns:string

public int Sandbox.PrefabVariable.Order { get; set; }PUBLICGETSET

Lower numbers appear first

Returns:int

public string Sandbox.PrefabVariable.Title { get; set; }PUBLICGETSET

A user friendly title for this variable

Returns:string

On this page