Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

SerializedProperty.propertyType

var propertyType: SerializedPropertyType;
SerializedPropertyType propertyType;
propertyType as SerializedPropertyType

Description

Type of this property (Read Only).

Property type determines which of the "value" variable accessors are valid. For example, only intValue is valid for properties of SerializedPropertyType.Integer type.

See Also: SerializedPropertyType.