Pool System Parent

Hi,

I'm using your Pool System for many Instantiates on my game.
But when I try to add the new instantiated GameObject to same parent of my Hicherarchy It doesn't work. It always add to your Pool System Parent.
On the other hand if I use Unity GameObject.Instantited it works fine and the new gameobject is child of my parent:


GameObject splash = GameObject.Instantiate(splashBig, transform.position, transform.rotation);
splash.transform.parent = splashSailing.transform;

Any ideas? Thanks
 

Justin

Administrator
Staff member
Good catch - if the object was pooled it didn't set the position/rotation/parent. This has been fixed in 2.1.2.
 
Top