Class LoadScenesCommandAsync
Class LoadScenesCommandAsync.
Inheritance
LoadScenesCommandAsync
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Industrial.Forma.Staging.Commands
Syntax
[MovedFrom(true, "UnityEngine.Industrial.Configuring.Staging", "Unity.Industrial.Configurator", null)]
public class LoadScenesCommandAsync : StagingCommand
Properties
Load
Gets or sets a value indicating whether this LoadScenesCommandAsync is load.
Declaration
public bool Load { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Scenes
Gets or sets the scenes.
Declaration
public List<SceneReference> Scenes { get; set; }
Property Value
| Type | Description |
|---|---|
| List<SceneReference> | The scenes. |
Methods
CleanUpCommandEditor()
Cleans up command editor.
Declaration
public override void CleanUpCommandEditor()
Overrides
ExecuteCommand(CommandContext)
Load Scene and Wait until the operation is done
Declaration
protected override IEnumerator ExecuteCommand(CommandContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandContext | context | The context. |
Returns
| Type | Description |
|---|---|
| IEnumerator | IEnumerator. |
Overrides
ExecuteCommandEditor(CommandContext)
Instant load Scene in EditMode
Declaration
protected override IEnumerator ExecuteCommandEditor(CommandContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandContext | context | The context. |
Returns
| Type | Description |
|---|---|
| IEnumerator | IEnumerator. |
Overrides
GetExportSettings()
Gets the export settings.
Declaration
public override List<string> GetExportSettings()
Returns
| Type | Description |
|---|---|
| List<String> | List<System.String>. |
Overrides
OnBeginUnloading()
Called when [begin unloading].
Declaration
public void OnBeginUnloading()
OnFinishedReloading()
Called when [finished reloading].
Declaration
public void OnFinishedReloading()