Pool Methods |
The Pool type exposes the following members.
| Name | Description | |
|---|---|---|
| Destroy | Pool a particular instance. | |
| DestroyAll | Pool all instances. | |
| GetEnumerator | ||
| Instantiate | Initialize a pool instance. | |
| Instantiate(Vector3) | Initialize a pool instance. | |
| Instantiate(Transform, Boolean) | Initialize a pool instance. | |
| Instantiate(Vector3, Quaternion) | Initialize a pool instance. | |
| Instantiate(Vector3, Transform) | Initialize a pool instance. | |
| Instantiate(Vector3, Quaternion, Transform) | Initialize a pool instance. | |
| InstantiateT | Initialize a pool instance. | |
| InstantiateT(Vector3) | Initialize a pool instance. | |
| InstantiateT(Transform, Boolean) | Initialize a pool instance. | |
| InstantiateT(Vector3, Quaternion) | Initialize a pool instance. | |
| InstantiateT(Vector3, Transform) | Initialize a pool instance. | |
| InstantiateT(Vector3, Quaternion, Transform) | Initialize a pool instance. | |
| PreloadInstances | Start preloading instances. Automatically gets called if Preload is . |
| Name | Description | |
|---|---|---|
| Destroy | Destroy the object. (Defined by UnityObjectExtensions.) | |
| Disable | Set the enabled property to . (Defined by BehaviourExtensions.) | |
| Enable | Set the enabled property to . (Defined by BehaviourExtensions.) | |
| ForEachComponent | Perform an action on a enumerable of items. (Defined by EnumerableExtensions.) | |
| GetBounds | Returns the bounds of the Component. | |
| IndexOfComponent(Component) | Overloaded. Return the index of an item, or -1 if not found. (Defined by EnumerableExtensions.) | |
| IndexOfComponent(Component, IEqualityComparerComponent) | Overloaded. Return the index of an item, or -1 if not found. (Defined by EnumerableExtensions.) | |
| IsPrefab | Returns whether the Component is a part of a prefab. (Defined by ComponentExtensions.) | |
| LogComponent | Log all the items in enumerable to the Console. (Defined by EnumerableExtensions.) | |
| WithIndexComponent | Allows to traverse over an enumerable along with the indices of items. (Defined by EnumerableExtensions.) |