docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property UsedComponents

    UsedComponents

    If in any of the methods if this class that you implemented, you query the BuildContext for certain compmonents You have to register those component types ahead of time. This allows us to show the user visually which components will be actually used by a build, and which ones will not.

    Declaration
    public virtual Type[] UsedComponents { get; }
    Property Value
    Type Description
    Type[]
    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)