Click or drag to resize
PropertyBackingFieldAttribute Constructor (Type, Object)
Initializes a new instance of the PropertyBackingFieldAttribute class that should use a custom PropertyDrawer associated with another PropertyAttribute to display the decorated field in the inspector. This constructor assumes that the backing field name starts with "m_" or "_" and that the property name otherwise matches. For example, a field m_Character or _Character could refer to either a property Character { get; set; } or a pair of methods GetCharacter() and SetCharacter().

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public PropertyBackingFieldAttribute(
	Type propertyAttributeType,
	params Object[] constructorArguments
)

Parameters

propertyAttributeType
Type: SystemType
A PropertyAttributeType to specify what custom PropertyDrawer should be used in the inspector.
constructorArguments
Type: SystemObject
Parameters for the override attribute's constructor.
See Also