docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AssignObjectIDs

    AssignObjectIDs()

    Used to assign an ObjectID (in the form of a color) to every renderer in the scene. If a scene uses dynamic objects or procedural object placement, then the user script should call this function to assign Object IDs to the new objects.

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