docs.unity3d.com
Search Results for

    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
    Assembly: solution.dll
    Syntax
    public struct SceneInstance

    Properties

    Name Description
    Scene

    The scene instance.

    Methods

    Name Description
    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
    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)