docs.unity3d.com
    Show / Hide Table of Contents

    Struct SceneInstance

    Wrapper for scenes. This is used to allow access to the AsyncOperation and delayed activation.

    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    Syntax
    public struct SceneInstance

    Properties

    Name Description
    Scene

    The scene instance.

    Methods

    Name Description
    Activate()

    Activate the scene via the AsyncOperation.

    ActivateAsync()

    Activate the scene via the AsyncOperation. This is the scene loading AsyncOperation provided by the engine. The documentation for AsyncOperation can be found here: https://docs.unity3d.com/ScriptReference/AsyncOperation.html

    Equals(Object)

    The scene instance.

    GetHashCode()

    The scene instance.

    In This Article
    • Properties
    • Methods
    Back to top
    Terms of use
    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