Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

[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

TypeThe type to generate a property bag for.

Inheritance

Inherited Members