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