docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetComponentTypes

    GetComponentTypes()

    Get a flatten list of all component types from this container and its dependencies. Throws if a component type is not in UsedComponents list.

    Declaration
    public IEnumerable<Type> GetComponentTypes()
    Returns
    Type Description
    IEnumerable<Type>

    List of component types.

    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)