Click or drag to resize

UNetPoolingPrefabs Property

[This is preliminary documentation and is subject to change.]

Gets a dictionary of game objects that have been registered for spawning with pooling support.

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
C#
public IDictionary<NetworkHash128, GameObject> Prefabs { get; }

Property Value

Type: IDictionaryNetworkHash128, GameObject
Remarks
This dictionary is updated when RegisterSpawnHandler(GameObject) is called. It contains a mapping from the asset ID of the game object's NetworkIdentity, to the game object itself.
See Also