When I call these from my other scripts, they're not actually calling an instance of the 'hidden" script, right? Because it would seem that there never really is one, and instead, maybe the compiler just automatically includes the functions of it in any script that calls them? If that's true, I guess that also explains why it's not possible (or is useless) to have variables or properties in a script like that.
Also if it's true that it just gets included in other scripts when they're compiled, would it be possible to do something with a similar purpose with a "dummy object"? As in... I move the functions to an activator's script or something, and create an instance of that object, and then other objects can get and set its properties and call functions from it, etc? Because that would be very useful...
If I'm mistaken and the script is actually initalized as one object instead of being baked into the calling scripts by the compiler, can someone explain how it works instead, and could I declare variables in it in that case?
Thanks.