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