文档

Unity Engine

Unity Engine

Float

Represents a single or double precision floating point property.
阅读时间1 分钟最后更新于 13 小时前

Definition

Float = 2

Remarks

SerializedProperty.numericType can be used to determine whether the property is a single or double precision float. Additional Resources: SerializedProperty, SerializedProperty.floatValue, SerializedProperty.doubleValue, SerializedPropertyNumericType.Double.