|
Post by greatchase91 on Oct 7, 2017 20:22:22 GMT
Does anyone know how I can object pool enemies using the Invector controller? I'm creating a wave based survival game and every enemy causes almost a 10 fps drop. How can I fix this? I tried using an object pool script but I can't figure out how to return the enemies into the object pool upon death.
|
|
|
Post by wieljer on Oct 11, 2017 22:32:54 GMT
Various Components on the enemies are disabled when they die. You would need to re-enable those if you wish to pool them. Doing so when they are spawned.
|
|