public PropertyBackingFieldAttribute( System.Type providerType, string propertyName, System.Type propertyAttributeOverride, params object[] overrideParams ) : this(propertyName) { OverrideAttribute = PropertyAttributeX.CreateNew(propertyAttributeOverride, overrideParams); }
/// <summary> /// Initializes a new instance of the <see cref="PropertyBackingFieldAttribute"/> class that /// uses a specifically indicated property drawer to display the field in the inspector. Assumes 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(). /// </summary> /// <param name="propertyAttributeOverride">Type to specify what drawer should be used.</param> /// <param name="overrideParams">Parameters for the override drawer type.</param> public PropertyBackingFieldAttribute( System.Type propertyAttributeOverride, params object[] overrideParams ) { OverrideAttribute = PropertyAttributeX.CreateNew(propertyAttributeOverride, overrideParams); }