docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor ComponentType

    ComponentType(Type, AccessMode)

    Create a component type

    Declaration
    [ExcludeFromBurstCompatTesting("Takes a managed Type")]
    public ComponentType(Type type, ComponentType.AccessMode accessModeType = AccessMode.ReadWrite)
    Parameters
    Type Name Description
    Type type

    The type

    ComponentType.AccessMode accessModeType

    The ComponentType.AccessMode of the component type. ReadWrite by default.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)