Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


floatValue

Value of a float property.
Read time 1 minuteLast updated 6 days ago

Definition

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