Class ProxyConnectionComponent
A BaseConnectionComponent that delegates to another connection component, sharing its IConnector instance.
Inheritance
ProxyConnectionComponent
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 ProxyConnectionComponent : BaseConnectionComponent
Remarks
Useful when a single connector needs to be referenced from multiple locations in the scene without duplicating the connection configuration.
Properties
Connection
Gets or sets the target connection component whose connector is proxied.
Declaration
public BaseConnectionComponent Connection { get; set; }
Property Value
| Type | Description |
|---|---|
| BaseConnectionComponent |
Methods
CreateConnector()
CreateConnector method.
Declaration
protected override IConnector CreateConnector()
Returns
| Type | Description |
|---|---|
| IConnector | The result. |