Click or drag to resize
PropertyField Class
Property wrapper for mono behaviour properties exposed in the Unity inspector.
Inheritance Hierarchy
SystemObject
  Slash.Unity.Editor.Common.InspectorsPropertyField

Namespace: Slash.Unity.Editor.Common.Inspectors
Assembly: Slash.Unity.Editor.Common (in Slash.Unity.Editor.Common.dll) Version: 0.0.0.0
Syntax
public class PropertyField

The PropertyField type exposes the following members.

Constructors
  NameDescription
Public methodPropertyField
Creates a new wrapper for mono behaviour properties exposed in the Unity inspector.
Top
Properties
  NameDescription
Public propertyGetConversionFunc
Conversion function when getting the value to show in the inspector.
Public propertyName
Name of the wrapped property to be shown in the inspector.
Public propertySetConversionFunc
Conversion function when writing the value from the inspector back to the property.
Public propertyType
Serialized type of the wrapped property.
Top
Methods
  NameDescription
Public methodStatic memberGetPropertyType
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.
Public methodGetValue
Returns the converted current property value.
Public methodSetValue
Converts and sets the current property value.
Top
See Also