Version: 2017.2

ProceduralPropertyDescription

class in UnityEngine

切换到手册

描述

Describes a ProceduralProperty.

变量

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.