Organizing Pooled Items in GameObject Containers
- Este debate tiene 1 respuesta, 1 mensaje y ha sido actualizado por última vez el hace 4 años, 1 mes por Chloroplast Games.
Viendo 2 entradas - de la 1 a la 2 (de un total de 2)
-
AutorEntradas
-
26 junio 2019 a las 02:23 #12501Chloroplast GamesSuperadministrador
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 marzo 2020 a las 13:46 #12694Chloroplast GamesSuperadministradorWe added new features that does this. Please see the documentation of the plugin for more information.
-
AutorEntradas
Viendo 2 entradas - de la 1 a la 2 (de un total de 2)
- Debes estar registrado para responder a este debate.