Your while loop will run constantly until the input buttons are pressed. This will stop all other scripts from running. `Update()` is called every frame, so I don't understand why you need to have a while loop.
↧