Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

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 properties use doubleValue instead.



See Also: doubleValue, propertyType, SerializedPropertyType.Float.

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