文档

Unity Engine

Unity Engine

floatValue

Value of a float property.
阅读时间1 分钟最后更新于 1 天前

Definition

public float floatValue { get; set; }

Remarks

Contains a valid value when SerializedProperty.propertyType is SerializedPropertyType.Float. For accessing float properties. If you are accessing double precision properties use SerializedProperty.doubleValue instead.