docs.unity.cn
    Show / Hide Table of Contents

    Class GeneratePropertyBagsForTypeAttribute

    Use this attribute to have the ILPostProcessor generate a property bag for a given type. This attribute works for the specified type ONLY, it does NOT include derived types.

    Inheritance
    Object
    GeneratePropertyBagsForTypeAttribute
    Namespace: Unity.Properties
    Syntax
    public class GeneratePropertyBagsForTypeAttribute : Attribute
    Remarks

    If you need to generate property bags for types implementing a specific interface use GeneratePropertyBagsForTypesQualifiedWithAttribute.

    Constructors

    GeneratePropertyBagsForTypeAttribute(Type)

    Initializes a new instance of the GeneratePropertyBagsForTypeAttribute attribute.

    Declaration
    public GeneratePropertyBagsForTypeAttribute(Type type)
    Parameters
    Type Name Description
    Type type

    The type to generate a property bag for.

    Fields

    Type

    The type to generate a property bag for.

    Declaration
    public readonly Type Type
    Field Value
    Type Description
    Type
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, January 26, 2022
    Terms of use