Ultimate Pooling Scripting Reference
| PoolManagerfindPoolWithInstance Method |
Find the pool that initially spawned the specified instance.
This method will fail if the pool that spawned this instance has been destroyed. In this case it will be up to the user to destroy the object manually, or call despawn(Object) which will result in the same thing.
Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic PoolGroup findPoolWithInstance( Object instance )
function findPoolWithInstance(instance);
Parameters
- instance
- Type: Object
The instance to find the managing pool for
Return Value
Type: PoolGroupThe managin pool group if found
See Also