Click or drag to resize
PropertyFieldGetPropertyType Method
Returns the property type and the conversion functions to use when showing the value in the inspector and when the value is written back to the property.

Namespace: Slash.Unity.Editor.Common.Inspectors
Assembly: Slash.Unity.Editor.Common (in Slash.Unity.Editor.Common.dll) Version: 0.0.0.0
Syntax
public static bool GetPropertyType(
	PropertyInfo info,
	out SerializedPropertyType propertyType,
	out Func<Object, Object> getConversionFunc,
	out Func<Object, Object> setConversionFunc
)

Parameters

info
Type: System.ReflectionPropertyInfo
Property info.
propertyType
Type: SerializedPropertyType
Defines which inspector control to use to show the value.
getConversionFunc
Type: SystemFuncObject, Object
Conversion function when getting the value to show in the inspector.
setConversionFunc
Type: SystemFuncObject, Object
Conversion function when writing the value from the inspector back to the property.

Return Value

Type: Boolean
True if the property contains a value which can be visualized in the inspector; otherwise, false.
See Also