docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Icon Replace by...

    Toolbox Rule Engine
    Replace each GameObject by another object.

    Parameters

    Parameter Type Description
    replaceBy ReplaceByMode Game Object: Replace input Game Object(s) by a specific Game Object
    Mesh: Replace all Meshes and their submeshes of input Game Object(s) by a specific Mesh (with its submeshes)
    Bounding Box: Replace input Game Object(s) by a box.
    boundingBox ReplaceByBoxType
    gameobject GameObject
    mesh Mesh
    replaceRotation Boolean If true, use the rotation of the newly placed object, otherwise, use the rotation of the original object.
    replaceScale Boolean If true, use the scale of the newly placed object, otherwise, use the scale of the original object.
    In This Article
    Back to top
    Copyright © 2025 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)