Please look at this thread: Other-script referal (Global variables)
If you have used Unity, it’s the same principle. Get a reference to the gameObject/entity and get the script from it to access the public variables and functions.
Please look at this thread: Other-script referal (Global variables)
If you have used Unity, it’s the same principle. Get a reference to the gameObject/entity and get the script from it to access the public variables and functions.