Void update question

I have a general question about void update. I understand it is called every frame. In my project I have multiple scripts with void update. So each one of these are called once per frame correct? I want to put an application quit in to exit my game. So does it matter what void update I put it in? What order if any , does the program run the void updates ? Thanks.

First up update is never called by Unity. Update is. Get it wrong and you’re script won’t work.

It typically doesn’t matter which Update you run code in. However it normally makes sense to run code related to the GameObject the script is attached too.

You can change the script execution order. See docs here.