I’m making a game, and I am an absolute beginner (I know no C# whatsoever). I want to know how I can make a script that after x seconds, the game closes itself. I don’t want any key inputs; I just want to stare at the scene, and then it closes the game automatically.
This is the bare minimum of information to report:
what you want
what you tried
what you expected to happen
what actually happened, log output, variable values, and especially any errors you see
links to documentation you used to cross-check your work (CRITICAL!!!)
The purpose of YOU providing links is to make our job easier, while simultaneously showing us that you actually put effort into the process. If you haven’t put effort into finding the documentation, why should we bother putting effort into replying?