Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ProceduralPropertyDescription

Namespace: UnityEngine

Description

Describes a ProceduralProperty.

Variables

componentLabels The names of the individual components of a Vector2/3/4 ProceduralProperty.
enumOptions The available options for a ProceduralProperty of type Enum.
group The name of the GUI group. Used to display ProceduralProperties in groups.
hasRange If true, the Float or Vector property is constrained to values within a specified range.
label The label of the ProceduralProperty. Can contain space and be overall more user-friendly than the 'name' member.
maximum If hasRange is true, maximum specifies the maximum allowed value for this Float or Vector property.
minimum If hasRange is true, minimum specifies the minimum allowed value for this Float or Vector property.
name The name of the ProceduralProperty. Used to get and set the values.
step Specifies the step size of this Float or Vector property. Zero is no step.
type The ProceduralPropertyType describes what type of property this is.