loading elements on startup

I would like to load some objects when the scene is loading.

Right now i have a global variable: bullets = Array(); On my player Start() method i am instantiating some bullets and adding them to the global array.

What i would like to know is how to do this when the scene starts and not when the player object does.

Is there a way to attach an script to the scene loading/starting? or someway that allows me to make all this instantiaton of objects when the scene initializes.

Thanks in advance,


Additionally, instead of instantiating the objects on Start(), consider instantiating them on Awake(), as that is called first, immediately after the scene loads, and before all the Start() calls.

The way I do this is to instantiate everything (or almost everything) via a script and then create one Empty game object and attach the startup script to that.