Class SceneObject
Class SceneObject.
Namespace: Unity.Industrial.Forma.Staging
Syntax
[MovedFrom(true, "UnityEngine.Industrial.Configuring.Staging", "Unity.Industrial.Configurator", null)]
[Obsolete("Replaced by the scene name directly serialized in the LoadSceneCommand")]
[Serializable]
public class SceneObject
Properties
SceneName
Gets the name of the scene.
Declaration
public string SceneName { get; }
Property Value
| Type | Description |
|---|---|
| String | The name of the scene. |
Methods
GetSceneObject(String)
Declaration
public static SceneAsset GetSceneObject(string sceneName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | sceneName |
Returns
| Type | Description |
|---|---|
| SceneAsset |
Operators
Implicit(String to SceneObject)
Performs an implicit conversion from String to SceneObject.
Declaration
public static implicit operator SceneObject(string sceneName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | sceneName | Name of the scene. |
Returns
| Type | Description |
|---|---|
| SceneObject | The result of the conversion. |
Implicit(SceneObject to String)
Performs an implicit conversion from SceneObject to String.
Declaration
public static implicit operator string (SceneObject sceneObject)
Parameters
| Type | Name | Description |
|---|---|---|
| SceneObject | sceneObject | The scene object. |
Returns
| Type | Description |
|---|---|
| String | The result of the conversion. |