Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

ProceduralPropertyDescription

Namespace: UnityEngine

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

Describes a ProceduralProperty.

Variables

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