SerializedPropertyType Manual     Reference     Scripting  
Scripting > Editor Enumerations > SerializedPropertyType
SerializedPropertyType Enumeration

Type of a SerializedProperty.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

See Also: SerializedProperty.propertyType.

Values
Integer

Integer property.

Boolean

Boolean property.

Float

Float property.

String

String property.

Color

Color property.

ObjectReference

Reference to another object.

LayerMask

LayerMask property.

Enum

Enumeration property.

Vector2

2D vector property.

Vector3

3D vector property.

Rect

Rectangle property.

ArraySize

Array size property.

Character

Character property.

AnimationCurve

AnimationCurve property.

Bounds

Bounds property.