Object pooling is really useful for prefabs that you need to instantiate many times. However, one benefit in using
Instantiate is it ensures that your prefab is in a default state.
I’m using a prefab object pool at the moment that makes sure that the prefab has an
IResettable component (i.e. so I can reset it to its initial state on Release). However, I frequently forget to reset certain parts of the prefab. Is there a better way to reset the pooled prefabs to their initial states from the original prefab? Is there a kind of “InstantiateOverwrite” method that could overwrite the data without allocating memory?