Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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.