Organizing Pooled Items in GameObject Containers

Adventure Forums Organizing Pooled Items in GameObject Containers

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12501

    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!

    #12694

    We added new features that does this. Please see the documentation of the plugin for more information.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.