Hello,
I have a C# script that needs to get a variable from a JavaScript script. Here is a snippet of my C# script:
itm.knifeInventory = StoryControl.inventoryKnife;
StoryControl.inventoryKnife is a JS variable, but I get a "The name 'StoryControl' does not exist in the current context"? How can I grab the variable from the JS without using a GetComponent (because the scripts are not on the same object)
Thanks