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.