Class EnvironmentPreview
Class EnvironmentPreview.
Namespace: Unity.Industrial.Forma.Staging.Environment
Syntax
public class EnvironmentPreview : ConfiguratorPreview
Properties
autoLoad
Gets or sets a value indicating whether [automatic load].
Declaration
public bool autoLoad { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
stagingManager
Gets the staging manager.
Declaration
public StagingManager stagingManager { get; }
Property Value
Type | Description |
---|---|
StagingManager | The staging manager. |
Methods
Load(StagingElement)
Loads the specified environment.
Declaration
public void Load(StagingElement environment)
Parameters
Type | Name | Description |
---|---|---|
StagingElement | environment | The environment. |
TryAutoLoad()
Tries the automatic load.
Declaration
public override void TryAutoLoad()
Overrides
Unload(Boolean)
Unloads the specified on destroy.
Declaration
public void Unload(bool onDestroy = false)
Parameters
Type | Name | Description |
---|---|---|
Boolean | onDestroy | if set to |