docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ExportGameObjects

    ExportGameObjects(GameObject[], Scene, BasisTransformation, bool)

    Export an array of gameobjects to the output scene

    Declaration
    public static void ExportGameObjects(GameObject[] objects, Scene scene, BasisTransformation basisTransform, bool exportMonoBehaviours = false)
    Parameters
    Type Name Description
    GameObject[] objects

    the gameobjects to export

    Scene scene

    the target output scene

    BasisTransformation basisTransform

    a transformation to apply to the exported objects

    bool exportMonoBehaviours

    do we export mono behaviours

    In This Article
    Back to top
    Copyright © 2023 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)