| UNetPooling Class | 
[This is preliminary documentation and is subject to change.]
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Umbrace.Unity.PurePool.UNet
 Syntax
Syntax[AddComponentMenu("Scripts/Umbrace.Unity.PurePool.UNet/UNet Pooling")] public class UNetPooling : MonoBehaviour
The UNetPooling type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | UNetPooling | Initializes a new instance of the UNetPooling class | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Prefabs | 
            Gets a dictionary of game objects that have been registered for spawning with pooling support.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | CreatePoolsForNetworkedPrefabs | 
            Creates new pools using the default settings, for every prefab currently registered with ClientScene with pooling support.
             | 
|  | Equals | (Inherited from Object.) | 
|  | Finalize | (Inherited from Object.) | 
|  | GetHashCode | (Inherited from Object.) | 
|  | GetType | (Inherited from Object.) | 
|  | MemberwiseClone | (Inherited from Object.) | 
|  | RegisterNetworkedPrefabsForAllPools | 
            Registers all prefabs from pools attached to the manager with the UNET spawning system, with pooling support.
             | 
|  | RegisterSpawnHandler(GameObject) | 
            Registers the specified prefab with the UNET spawning system, with pooling support.
             | 
|  | RegisterSpawnHandler(NetworkHash128) | 
            Registers the asset with the specified asset ID with the UNET spawning system, with pooling support.
             | 
|  | RegisterSpawnHandlers | 
            Registers pooling-based spawn handlers for all prefabs that have been registered with ClientScene.
             | 
|  | SpawnHandler | 
            Spawns a GameObject that's been registered with ClientScene, with pooling support.
             | 
|  | ToString | (Inherited from Object.) | 
|  | UnspawnHandler | 
            Despawns a GameObject, with pooling support.
             | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | AutoRegister | 
            A value indicating whether to automatically register prefabs with ClientScene when pools are initialised by the manager.
             | 
|  | PoolManager | 
            The GameObjectPoolManager responsible for managing the pools.
             | 
 See Also
See Also