docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SceneList

    Contains information about the scenes for the build.

    Inheritance
    object
    SceneList
    Implements
    IBuildComponent
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Unity.Build.Common
    Assembly: solution.dll
    Syntax
    [FormerName("Unity.Build.Common.SceneList, Unity.Build.Common")]
    public sealed class SceneList : IBuildComponent

    Properties

    Name Description
    BuildCurrentScene
    SceneInfos

    The list of scene infos for the build.

    Methods

    Name Description
    GetSceneInfosForBuild()

    Gets the current scene infos for the build. If BuildCurrentScene is checked, all open scenes are returned.

    GetScenePathsForBuild()

    Gets the scene paths that will be included in the build.

    GetScenePathsToLoad()

    Returns all scenes marked as auto load. The first scene is always included.

    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)