Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

SerializedPropertyType

enumeration

Description

Type of a SerializedProperty.

Variables

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.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答