This question was
closed Jan 21, 2018 at 11:12 PM by
expat1999 for the following reason:
The question is answered, right answer was accepted
Question by
expat1999 · Oct 13, 2015 at 11:26 AM ·
levelsscript loading
Is it possible to run a script that is not attached to an object?
What I want to do is allow the player to press "esc" to quit the game, but I don't want to have to put an object dedicated to this in every single level. So, can I have it so that no matter what level I'm in, it will run a script? If there is a simpler solution that would help just as much.
--- expat1999
Comment
Follow this Question
Related Questions
Transition between two scenes 1 Answer
PlayerPrefs Not Consistently Saving Stats 0 Answers
Array of scripts: How to access the scripts by name? 1 Answer
Help with Non-Linear Levels 1 Answer
Bug with Lock Unlock System 0 Answers