Class SceneObject
Class SceneObject.
Namespace: UnityEngine.Industrial.Configuring.Staging
Syntax
[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)
Gets the scene object.
Declaration
public static SceneAsset GetSceneObject(string sceneName)
Parameters
Type | Name | Description |
---|---|---|
String | sceneName | Name of the scene. |
Returns
Type | Description |
---|---|
SceneAsset | 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. |