My situations is as follows.
main.cs
is a main script (you don't say, whaaaaaa?), it includes functions.cs
by using functions;
. I managed to get OOP working (had some struggle with it, but figured it out). I know that I can pass variables from main.cs
to functions.cs
by executing:
Class FavVarName = new Class();
FavVarName.ExternalVoid("if you tell it's a string, you can put text here");
So, I know that how to manage "if you [...] text here", and how to get it working and make it usable in functions.cs
. But what if I want to set bool callback = true
in main.cs
from functions.cs
?
How would I set variable callback
in main.cs
while runtime(?) is still busy with executing remote "void's" in functions.cs
?
This is kinda hard to explain, I hope you can understand it.