I have a static var in a C# script. I have a JS script that is trying to access it. However, I am getting an error, that in the JS script, when it calls this static var… that scriptName (as an identifier), does not exist.
///in js
cSScript.staticVariable = something;
I am told, csScript is an unknown identifier. I am thinking I may need to place my C# script somewhere else, so it compiles first. Am I right? Where do I place it? If this is the case.