Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Float

Represents a single or double precision floating point property.
Read time 1 minuteLast updated 6 days ago

Definition

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