How to reference a public variable from a script in one scene, in a script from another scene

Hey, so I have a public bool variable in a scene, that is true depending on if a button was clicked. , and I want to check if the variable is true or not in another script in a separate scene. I’ve read other forums with similar problems but I am still a bit confused on the matter. Thanks for any help and let me know if you need my scripts.

Referencing variables, fields, methods (anything non-static) in other script instances:

Thanks for the help!

1 Like