Click or drag to resize

ComponentPoolManagerCreatePool Method (Type)

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

Creates a ComponentPool that pools instances of componentType, and attaches it to the manager. The pool is created on a child object of the manager's game object.

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public ComponentPool CreatePool(
	Type componentType
)

Parameters

componentType
Type: SystemType
The type of component to be pooled.

Return Value

Type: ComponentPool
The newly-created ComponentPool.
See Also