docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MoveOccurrences

    MoveOccurrences(OccurrenceList, uint, uint)

    Move an occurrence, adjusting the transformation to keep objects at the same place in the world space

    Declaration
    public void MoveOccurrences(OccurrenceList occurrences, uint destination, uint insertBefore = 0)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    The occurrences to move

    uint destination

    Destination occurrence (the new parent)

    uint insertBefore

    Occurrence before witch to move, if null append to destination children

    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)