文档

Unity Engine

Unity Engine

Float

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

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.