how to share a bool in unity code example
Example: unity c# get bool from another script
GameObject.Find("NAMEOFOBJECTWITHCOMPONENT").GetComponent<NAMEOFSCRIPT>().NAMEOFBOOL
GameObject.Find("NAMEOFOBJECTWITHCOMPONENT").GetComponent<NAMEOFSCRIPT>().NAMEOFBOOL