raees
New Member
Posts: 1
Posts: 1
|
Post by raees on Mar 1, 2016 13:32:33 GMT
Hi. I'm new to game development and I've purchased the Core GameKit. I tried searching but couldn't find anything on the topic so here goes:
Is there a way to get all of the prefabs in the pool by category, possibly in some form of list? If there is, is there also a way to only get the unspawned prefabs?
I ask this because I am attempting to have a list of unique prefabs eg: [item1, item2, item3]. I want to randomly get one of the items from the list at a time, but only items which are despawned/unspawned.
Instead of keeping a separate list of transforms or item names, I would like to know if there is some method eg: poolboss.getDespawnedPrefabs("CategoryName");
I apologize if this had been previously discussed.
|
|
|
Post by DarkTonic Dev on Mar 1, 2016 20:55:32 GMT
This doesn't exist currently. I will add this for the next version. I have revamped the Pool Boss Inspector to be more like the rest of the custom Insectors in CGK and have more features.
Hopefully this week I will submit the new version to the Asset Store. At that time you may request the latest from us by emailing us your invoice PDF if you don't want to wait for Store approval.
|
|