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 |