GeneratePropertyBagsForTypeAttribute
Use this attribute to have the source generator generate a property bag for a given type. This attribute works for the specified type ONLY, it does NOT include derived types.
Read time 3 minutesLast updated 10 days ago
Definition
- Type: Class
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
- Inherits from: Attribute
- Implements: _Attribute
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]public class GeneratePropertyBagsForTypeAttribute : Attribute, _Attribute
Remarks
If you need to generate property bags for types implementing a specific interface use GeneratePropertyBagsForTypesQualifiedWithAttribute.
Constructors
Constructor | Description |
|---|---|
| GeneratePropertyBagsForTypeAttribute(System.Type) | Initializes a new instance of the GeneratePropertyBagsForTypeAttribute attribute. |
Properties
Property | Description |
|---|---|
| Type | The type to generate a property bag for. |