- Home /
Object Pooling
I have been reading about object pooling a lot recently as I am experiencing lag spikes in my iOS game. I understand the concept of it but am a little confused as to how it actually works. I would appreciate it if someone could please give me a basic rundown on how to make pooling work. Specifically what to attach the scripts to i.e on the prefab I am using or an empty game object? And which scripts are required.
Thank you in advance for your help
Answer by Fattie · Oct 26, 2012 at 09:36 AM
it's a critical and basic topic indeed
there is a massive book-length discussion here ..
http://answers.unity3d.com/questions/321762/how-to-assign-variable-to-a-prefabs-child.html
hope it helps! all I ask is that you "tick up" that answer if you like it - I am desperate to see "10" on an answer :) heh
Wow thanks :) looks like an excellent description, should help me get my head around it finally!
nothing makes me happier than helping you, the US user! :)
Your answer
![](https://koobas.hobune.stream/wayback/20220613082913im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
My game lags on iOS devices and not android 0 Answers
IOS Object Pooling 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Performance issue on iPhone 5 1 Answer