docs.unity.cn
    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.unity.cn/ScriptReference/AsyncOperation.html

    Equals(Object)

    The scene instance.

    GetHashCode()

    The scene instance.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use