Did I miss something? I can’t seem to figure out how to make my game end or exit other than just closing the tab. Is there some other way?
Hi walshlg
I asked myself the same question! From what i read there are a few different ways to do it, but this is what i done:
void Update() {
if (Input.GetKeyDown(KeyCode.Escape)) {Application.Quit();}
}
Hope this helps!
1 Like