Class ConnectionAggregatorComponent
A BaseConnectionComponent that combines multiple connections into a single AggregatorConnector, publishing and subscribing on all of them simultaneously.
Inheritance
ConnectionAggregatorComponent
Inherited Members
Object.GetEntityId()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.SimulationPro.Foundation
Assembly: Unity.SimulationPro.Foundation.dll
Syntax
public class ConnectionAggregatorComponent : BaseConnectionComponent
Remarks
Assign the child BaseConnectionComponent references in the Inspector. Each publish call is forwarded to all underlying connectors.
Properties
Connections
Gets or sets the set of connection components aggregated by this component.
Declaration
public BaseConnectionComponent[] Connections { get; set; }
Property Value
| Type | Description |
|---|---|
| BaseConnectionComponent[] |
Methods
CreateConnector()
CreateConnector method.
Declaration
protected override IConnector CreateConnector()
Returns
| Type | Description |
|---|---|
| IConnector | The result. |