Click or drag to resize
EntityObjectPoolSetMaxCapacity Method
Changes the maximum capacity of this pool. If the maximum capacity is increased, an amount of objects equal to the capacity difference is added to the pool. If the maximum capacity is decreased, an amount of objets equal to the capacity difference is removed from the pool of available objects.

Namespace: Slash.Unity.Common.ECS
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public void SetMaxCapacity(
	int newMaxCapacity
)

Parameters

newMaxCapacity
Type: SystemInt32
New maximum capacity of this pool.
See Also