Click or drag to resize

UNetPooling Methods

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

The UNetPooling type exposes the following members.

Methods
  NameDescription
Public methodCreatePoolsForNetworkedPrefabs
Creates new pools using the default settings, for every prefab currently registered with ClientScene with pooling support.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRegisterNetworkedPrefabsForAllPools
Registers all prefabs from pools attached to the manager with the UNET spawning system, with pooling support.
Public methodRegisterSpawnHandler(GameObject)
Registers the specified prefab with the UNET spawning system, with pooling support.
Public methodRegisterSpawnHandler(NetworkHash128)
Registers the asset with the specified asset ID with the UNET spawning system, with pooling support.
Public methodRegisterSpawnHandlers
Registers pooling-based spawn handlers for all prefabs that have been registered with ClientScene.
Public methodSpawnHandler
Spawns a GameObject that's been registered with ClientScene, with pooling support.
Public methodToString (Inherited from Object.)
Public methodUnspawnHandler
Despawns a GameObject, with pooling support.
Top
See Also