WarmUpInstantiator
method in Coherence.Toolkit.DefaultInstantiator
Methods
public void WarmUpInstantiator(CoherenceBridge bridge, CoherenceSyncConfig config, INetworkObjectProvider assetLoader)
Called from the Start method of a given CoherenceBridge instance. The related Provider is also given to be able to load the Object if you wish to do so. Consider deactivating the prefab before instantiating it if you wish to initiate an Object Pool.
Parameters
Type | Name | Description |
---|---|---|
CoherenceBridge | bridge | |
CoherenceSyncConfig | config | |
INetworkObjectProvider | assetLoader |