HI Guys,
I have a static float in C# that my JS script does not recognise. I am using the following code…
///in C#, varScript, define the var.
static float this;
/////then in JS varGetScript, I ask...
varScript.this = x;
I am getting an error tho tha the JS script does not recognize the identifier, varScript.
Any ideas? I placed the C# script in the Editor folder so it is compiled after all JS scripts.
?