|
Post by bud on Jun 24, 2017 14:38:12 GMT
Ok, so I add lots of different prefabs to poolboss ( i have core game kit but just poolboss). I spawn a selection of enemies from poolboss and ALSO a weapon. When my enemy shot count reaches for instance 10, I despawn all prefabs. This has the effect of despawning my weapon which I do not want. SO, Is there a way to despawn active prefabs by name ? thanks
|
|
|
Post by bud on Jun 24, 2017 15:00:07 GMT
I have categorized my pooled items, is it not possible to despawn a category ? that way I can have weapons etc in other catergories that will not get despawned.
|
|
|
Post by bud2 on Jun 24, 2017 15:16:16 GMT
Ok, seems I need to read the API. Its all in there: solution:
PoolBoss.DespawnAllPrefabsInCategory
cheers
|
|
|
Post by DarkTonic Dev on Jun 24, 2017 17:04:46 GMT
Yes.
|
|