Thanks for your notes.
Yes, that would be the correct way to set up the public variable in the script and that is also the correct way to access the variable in a different script.
If the scripts are not behaving as expected then you would need to debug your scripts by reducing code and adding prints to understand how your logic in each script is evaluating and behaving.


Comment