AcquireNoPoolMode Enumeration |
[This is preliminary documentation and is subject to change.]
Namespace: Umbrace.Unity.PurePool
public enum AcquireNoPoolMode
Member name | Value | Description | |
---|---|---|---|
Error | 0 | An exception is thrown and logged in Unity. No object is returned. | |
Instantiate | 1 | A new object is instantiated using Instantiate(Object, Vector3, Quaternion). When released, the object is destroyed. | |
CreatePool | 2 | A new pool is created using default settings, to contain instances of the object. An instance is returned from the pool. |