Version: 2022.2

SerializedPropertyType

enumeration

切换到手册

描述

Represents the type of a SerializedProperty.

变量

GenericRepresents an array, list, struct or class.
IntegerRepresents an integer property, for example int, byte, short, uint and long.
BooleanRepresents a boolean property.
FloatRepresents a single or double precision floating point property.
StringRepresents a string property.
ColorRepresents a color property.
ObjectReferenceProvides a reference to an object that derives from UnityEngine.Object.
LayerMaskRepresents a LayerMask property.
EnumRepresents an enumeration property.
Vector2Represents a 2D vector property.
Vector3Represents a 3D vector property.
Vector4Represents a 4D vector property.
RectRepresents a rectangle property.
ArraySizeRepresents an array size property.
CharacterRepresents a character property.
AnimationCurveRepresents an AnimationCurve property.
BoundsRepresents a bounds property.
GradientRepresents a gradient property.
QuaternionRepresents a quaternion property.
ExposedReferenceProvides a reference to another Object in the Scene.
FixedBufferSizeRepresents a fixed buffer size property.
Vector2IntRepresents a 2D integer vector property.
Vector3IntRepresents a 3D integer vector property.
RectIntRepresents a rectangle with Integer values property.
BoundsIntRepresents a bounds with Integer values property.
ManagedReferenceRepresents a property that references an object that does not derive from UnityEngine.Object.
Hash128Represents a Hash128 property.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961