Struct SceneImporterData
Contains scene data that is stored in the userData field of the importer.
Namespace: Unity.Scenes.Editor
Syntax
public struct SceneImporterData
Fields
DisableLiveLink
Exclude this scene from the LiveLink system. If excluded, the scene will be built into the player data if it is in the BuildSettings scenes list.
Declaration
public bool DisableLiveLink
Field Value
Type | Description |
---|---|
Boolean |
Methods
CanLiveLinkScene(String)
Method to check if a scene can be used by the LiveLink system.
Declaration
public static bool CanLiveLinkScene(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The scene path. |
Returns
Type | Description |
---|---|
Boolean | If true, the scene can be used. |
GetAtPath(String)
Get the importer data for a scene given its path.
Declaration
public static SceneImporterData GetAtPath(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The scene path. |
Returns
Type | Description |
---|---|
SceneImporterData | The data for the scene. |
SetAtPath(String, SceneImporterData)
Set the scene data for the scene at the given path.
Declaration
public static void SetAtPath(string path, SceneImporterData data)
Parameters
Type | Name | Description |
---|---|---|
String | path | The scene path. |
SceneImporterData | data | The scene data. |