docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateOccurrences

    CreateOccurrences(string, OccurrenceList)

    Create one new occurrence under each given parent

    Declaration
    public OccurrenceList CreateOccurrences(string name, OccurrenceList parents = null)
    Parameters
    Type Name Description
    string name

    Name of the new occurrence

    OccurrenceList parents

    Create the occurrences as a child of each parent. If empty, one occurrence will be created with root as parent

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