What pattern avoids constant instantiate/destroy cost?
GameObject.Instantiate(bullet); // every shot
- Object pooling of bullets
- Loading a bigger texture
- Raising the physics rate
- Merging every collider
Pooling reuses inactive objects instead of allocating and freeing each time.
Play Game Dev ▸