Version: 2023.2
public string type ;

描述

属性的类型名称。(只读)

Returns C# type name of the property for all SerializedPropertyType values, except for SerializedPropertyType.ObjectReference, SerializedPropertyType.ManagedReference and other internal values of SerializedPropertyType, where the internal serialization type name is returned.

Additional resources: arrayElementType