GetPrefab
Methods
public void GetPrefab(ClientID clientId, ConnectionType connectionType, Action<ICoherenceSync> onLoaded)
Gets a client connection prefab, as set on the associated CoherenceBridge.
Parameters
| Type | Name | Description |
|---|---|---|
| ClientID | clientId | The client id. |
| ConnectionType | connectionType | The connection type associated with that prefab. |
| Action<ICoherenceSync> | onLoaded | A callback with the resulting CoherenceSync. |