Organizing Pooled Items in GameObject Containers
- This topic has 1 reply, 1 voice, and was last updated 4 years, 8 months ago by Chloroplast Games.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
26 June 2019 at 02:23 #12501Chloroplast GamesKeymaster
Hello.
I’m using Unity 2019.3.0a6.
I’ve been trying to dig through your script to organize the pool by objects in their own GameObject container.
For example, I’d like my bullets, multipliers, textPopups, etc to fill the hierarchy in a cleaner way. Such as:
ObjectPoolingManager/ //This is an empty GameObject with the CFGObjectPoolingManagerEditor component bullets/ //This is GameObject to hold the pooled objects that has the same name of the prefab that is being pooled. bullets(1) bullets(2) //These pooled prefabs are children of the parent GameObject above. In this case "bullets". bullets(3) multipliers/ //This is GameObject to hold the pooled objects that has the same name of the prefab that is being pooled. multipliers(1) multipliers(2) multipliers(3)//These pooled prefabs are children of the parent GameObject above. In this case "multipliers". multipliers(4)
If I want to pool 100’s of objects the hierarchy becomes very impossible to use/test with. And in general, it would be nice to just be organized.
I am new to game development/coding and finding the right place in your very finely put together set of classes can be rather difficult.
If you could add this feature, it would be greatly appreciated.
Thanks!
11 March 2020 at 13:46 #12694Chloroplast GamesKeymasterWe added new features that does this. Please see the documentation of the plugin for more information.
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.