Version: 2022.3
LanguageEnglish
  • C#

SerializedPropertyNumericType

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Returns the precise type for Integer or Floating point properties.

Properties

UnknownRepresents a type that is not a numeric type.
Int8Represents an 8 bit signed integer (sbyte).
UInt8Represents an 8 bit unsigned integer (byte).
Int16Represents a 16 bit signed integer (short).
UInt16Represents a 16 bit unsigned integer (ushort).
Int32Represents a 32 bit signed integer.
UInt32Represents a 32 bit unsigned integer (uint).
Int64Represents a 64 bit signed integer (long).
UInt64Represents a 64 bit unsigned integer (ulong).
FloatRepresents a single precision (32 bit) floating point type.
DoubleRepresents a double precision (64 bit) floating point type.