Q to quit

In Text 101 Intro we put press Q to quit, but nowhere in the scripts - did I miss something?

Hi Karsten,

Welcome to our community! :slight_smile:

You didn’t miss anything. Closing the game does not work in WebGL builds because our modern browser does not allow that for reasons of security. What you could do is to display a line which tells the player that they could close the tab now.

For standalone builds, you could simply call Application.Quit().

Did this help?


See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms