Need to use a toggle on MainScreen to affect activity of a gameObject in another scene.

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


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

With this being loaded, will this carry through for all scripts or is there a better way to do this?

That’s fine, or you could define a static bool and it will permeate throughout without needing to attach it to a GObj / use GetComponent.