Transform group Description The SpawnPool's 'group' is the GameObject with the SpawnPool component and is the parent of all instances in the pool by default. There are some systems which will reparent instances as part of their normal functionality. In these cases, you can optionally parent the instance back under its pool's group before calling Despawn(). In this example, 'myInstance' is made a child of the 'Enemies' pool's group before calling SpawnPool.Despawn():
|
Code Reference > SpawnPool >