Class SceneContainer | Unity Runtime Scene Serialization | 0.1.4-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneContainer

    Inheritance
    Object
    SceneContainer
    Namespace: Unity.RuntimeSceneSerialization
    Syntax
    [Serializable]
    public class SceneContainer : IFormatVersion

    Constructors

    SceneContainer()

    Declaration
    public SceneContainer()

    SceneContainer(Scene, Boolean)

    Declaration
    public SceneContainer(Scene scene, bool collectGameObjects = true)
    Parameters
    Type Name Description
    Scene scene
    Boolean collectGameObjects

    Properties

    SceneRootTransform

    Declaration
    public Transform SceneRootTransform { get; set; }
    Property Value
    Type Description
    Transform

    Methods

    CheckFormatVersion()

    Declaration
    public void CheckFormatVersion()
    Implements
    IFormatVersion.CheckFormatVersion()

    SetSceneReferences()

    Declaration
    public void SetSceneReferences()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023