UNetPoolingRegisterSpawnHandlers Method |
[This is preliminary documentation and is subject to change.]
Registers pooling-based spawn handlers for all prefabs that have been registered with ClientScene.
Namespace:
Umbrace.Unity.PurePool.UNet
Assembly:
Umbrace.Unity.PurePool.UNet (in Umbrace.Unity.PurePool.UNet.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax public void RegisterSpawnHandlers()
Remarks
This method replaces all
ClientScene registrations that were made using
RegisterPrefab(GameObject) without pooling support,
with new registrations made using
RegisterSpawnHandler(GameObject) to provide pooling support.
See Also