Class RuntimeStagingSettings
Class RuntimeStagingSettings.
Namespace: UnityEngine.Industrial.Configuring.Staging
Syntax
[Serializable]
public class RuntimeStagingSettings
Properties
animations
All animations
Declaration
public List<StagingElement> animations { get; }
Property Value
Type | Description |
---|---|
List<StagingElement> | The animations. |
cameras
All camera angles
Declaration
public List<StagingItemRow> cameras { get; }
Property Value
Type | Description |
---|---|
List<StagingItemRow> | The cameras. |
environments
All available Environments items (scenes)
Declaration
public List<StagingItemRow> environments { get; }
Property Value
Type | Description |
---|---|
List<StagingItemRow> | The environments. |
events
Gets the events.
Declaration
public List<StagingElement> events { get; }
Property Value
Type | Description |
---|---|
List<StagingElement> | The events. |
lights
All lights
Declaration
public List<StagingElement> lights { get; }
Property Value
Type | Description |
---|---|
List<StagingElement> | The lights. |
Methods
Merge(StagingSettings[])
Merge two staging settings. Objects of StagingSettings b will be appended on the StagingSettings from a
Declaration
public static RuntimeStagingSettings Merge(params StagingSettings[] settings)
Parameters
Type | Name | Description |
---|---|---|
StagingSettings[] | settings | The settings. |
Returns
Type | Description |
---|---|
RuntimeStagingSettings | New StagingSettings with all settings |
Events
availabilityStatesChanged
Triggered when availability of a staging element changed, with an assigned staging rule
Declaration
public event Action<StagingElement> availabilityStatesChanged
Event Type
Type | Description |
---|---|
Action<StagingElement> |