Creates a new GameObject with a SpawnPool Component which registers itself with the PoolManager.Pools dictionary. The SpawnPool can then be accessed directly via the return value of this function or by via the PoolManager.Pools dictionary using a 'key' (string : the name of the pool, SpawnPool.poolName).
Pool Name
Pool Name. The work 'Pool' will be added to this name.
Dont Destroy On Load
If TRUE, survive when loading a new scene
Log Messages
If TRUE, log pool activity
Pool
The Pool
Pool Game Object
The Pool GameObject.
Pool Exists Already
Will be true if a pool with that name exists already
Pool Exists Already Event
Event sent if a pool with that name exists already
Pool Created Event
Event sent if the pool is created
Pool Creation Failed Event
Event sent if the pool creation failed