longValue
Value of an integer property as a long.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public long longValue { get; set; }
Remarks
Contains a valid value when SerializedProperty.propertyType is SerializedPropertyType.Integer. Most appropriate for long properties (SerializedPropertyNumericType.Int64), but can be used with all integer types of 64 bits or less, although SerializedProperty.ulongValue is recommended for SerializedPropertyNumericType.UInt64.
When assigning a value to SerializedProperty.longValue, the value is clamped in the range of the property's declared type. For example, a property that is declared as a ushort is clamped between 0 and 65,535.