Struct SceneInstance | Package Manager UI website
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.

    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    Syntax
    public struct SceneInstance

    Properties

    Scene

    The scene instance.

    Declaration
    public Scene Scene { get; }
    Property Value
    Type Description
    Scene

    Methods

    Activate()

    Activate the scene via the AsyncOperation.

    Declaration
    public void Activate()

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX