Class EnvironmentReference
Class EnvironmentReference.
Namespace: Unity.Industrial.Forma.Staging.Environment
Syntax
[MovedFrom(true, "UnityEngine.Industrial.Configuring.Staging", "Unity.Industrial.Configurator", null)]
[Serializable]
public class EnvironmentReference
Constructors
EnvironmentReference()
Initializes a new instance of the EnvironmentReference class.
Declaration
public EnvironmentReference()
EnvironmentReference(EnvironmentItem, EnvironmentDefinition)
Initializes a new instance of the EnvironmentReference class.
Declaration
public EnvironmentReference(EnvironmentItem environment, EnvironmentDefinition environmentDefinition)
Parameters
| Type | Name | Description |
|---|---|---|
| EnvironmentItem | environment | The environment. |
| EnvironmentDefinition | environmentDefinition | The environment definition. |
Fields
definition
The definition
Declaration
[SerializeField]
public EnvironmentDefinition definition
Field Value
| Type | Description |
|---|---|
| EnvironmentDefinition |
id
The identifier
Declaration
[SerializeField]
public string id
Field Value
| Type | Description |
|---|---|
| String |
Properties
Environment
Gets the environment.
Declaration
public EnvironmentItem Environment { get; }
Property Value
| Type | Description |
|---|---|
| EnvironmentItem | The environment. |