docs.unity.cn
    Show / Hide Table of Contents

    Struct SceneList.SceneInfo

    Info for each scene included in the build.

    Namespace: Unity.Build.Common
    Syntax
    public struct SceneInfo

    Properties

    AutoLoad

    If true, the scene is auto loaded in the player. The first scene is always auto loaded.

    Declaration
    [CreateProperty]
    public bool AutoLoad { readonly get; set;
    }
    Property Value
    Type Description
    Boolean

    Path

    Get scene path.

    Declaration
    public readonly string Path { get; }
    Property Value
    Type Description
    String

    Scene

    The scene asset identifier.

    Declaration
    [CreateProperty]
    [AssetGuid(typeof(SceneAsset))]
    public GlobalObjectId Scene { readonly get; set;
    }
    Property Value
    Type Description
    GlobalObjectId
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, September 27, 2022
    Terms of use