Legacy Documentation: Version 2017.2 (Go to current version)
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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答