docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ListComponents

    ListComponents(uint, bool)

    List all components on an occurrence

    Declaration
    public ComponentList ListComponents(uint occurrence, bool followPrototypes = true)
    Parameters
    Type Name Description
    uint occurrence

    The occurrence to list the components

    bool followPrototypes

    If true list also components owned by the prototype

    Returns
    Type Description
    ComponentList
    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)