Using Unity 5, I am attempting to use the Start scene to hold a bool that will decide whether or not I am using a constructed AutoPlay feature.
I have created a gameObject and attached a script for the first scene.
The script is using
GameObject.DontDestroyOnLoad(gameObject);
to ensure that the game object is not changed after the initial main screen, and can be checked as it permeates through the scenes and can be referenced with
GetComponent<>();
With this being loaded, will this carry through for all scripts or is there a better way to do this?