Wiki

Case Status
Log In

Wiki

 
Home ยป Add-ons»Pool Manager 5 Custom Actions»Pool Manager 2 Spawn
Index
Navigation
Community Wiki

Pool Manager 2 Spawn

Use Spawn() instead of Unity's Instantiate(). The function signature is the same but the return type is different and Spawn() will use an instance from the pool if one is available.

Pool Name
Pool name
Game Object
GameObject or prefab to spawn
Spawn Transform
Use this to define the transform of the spawned GameObject when created
Spawned Game Object
Store the returned the spawned GameObject.
Success Event
Event triggered if spawn was successful
Fail Event
Event triggered if spawn was not successful. It fails if the 'limit' option was used and the limit was reached.
Tags:

Last modified on 3/13/2012 3:55 AM by User.

  • RSS Feed