I was wondering, what is the most efficient way to pass boolean values between two javascript scripts in Unity. Right now the method I use - is to make a reference in script#1 to script#2 which contains the boolean, then then calling the script#2 function which contains the boolean, and the taking the value from the function. Is there an easier way? I tried to pass static bool values directly, yet is shows errors. Thank you in advance!I was wondering, what is the most efficient way