Check out example codes for "unity c# get bool from another script". It will help you in understanding the concepts better.

Code Example 1

GameObject.Find("NAMEOFOBJECTWITHCOMPONENT").GetComponent<NAMEOFSCRIPT>().NAMEOFBOOL

Learn ReactJs, React Native from akashmittal.com