I’m trying to reference a string from a JS script and reference the value in a C# script. I know that I have to place the JS script in a special folder, but I don’t know the line of code to reference a JS script, I know to reference a C# is : string myusername = ScriptName.myusername . However I can’t seem to do the same for JS. Please help.
Also if it helps:
KongAPI = Script
MyUnityObject = Object
myusername = String