Class EnvironmentReference
Class EnvironmentReference.
Namespace: UnityEngine.Industrial.Configuring.Staging
Syntax
[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. |