SerializedPropertyType

enumeration

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

Submission failed

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

Close

Cancel

Description

Type of a SerializedProperty.

Properties

IntegerInteger property.
BooleanBoolean property.
FloatFloat property.
StringString property.
ColorColor property.
ObjectReferenceReference to another object.
LayerMask LayerMask property.
EnumEnumeration property.
Vector22D vector property.
Vector33D vector property.
Vector44D vector property.
RectRectangle property.
ArraySizeArray size property.
CharacterCharacter property.
AnimationCurveAnimationCurve property.
BoundsBounds property.
GradientGradient property.
QuaternionQuaternion property.
ExposedReferenceA reference to another Object in the Scene. This is done via an ExposedReference type and resolves to a reference to an Object that exists in the context of the SerializedObject containing the SerializedProperty.
FixedBufferSizeFixed buffer size property.
Vector2Int2D integer vector property.
Vector3Int3D integer vector property.
RectIntRectangle with Integer values property.
BoundsIntBounds with Integer values property.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答