SerializedProperty.floatValue

public float floatValue;

Description

Value of a float property.

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



Additional resources: doubleValue, propertyType, SerializedPropertyType.Float, SerializedPropertyNumericType.Float.


Did you find this page useful? Please give it a rating: