docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateOccurrence

    CreateOccurrence(string, uint)

    Create a new occurrence

    Declaration
    public uint CreateOccurrence(string name, uint parent = 0)
    Parameters
    Type Name Description
    string name

    Name of the new occurrence

    uint parent

    Create the occurrence as a child of parent, if not set the parent will be root

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