Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


doubleValue

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

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public double doubleValue { get; set; }

Remarks

Contains a valid value when SerializedProperty.propertyType is SerializedPropertyType.Float. For accessing float and double properties. When assigning a float to SerializedProperty.doubleValue, the value is clamped to the range of a float.