Using variables and classes of C# in Javascript?


I have a set of Javascript classes that each work on a number of static variables.

The problem is that some of these static variables are obtained by calling a function which my friend “conveniently” wrote in C# and will take me a while to convert back to Javascript.

My question is: I need to pass variables to a C# function and obtain the returned variables back into a Javascript file.

Is this possible?? I beg you…please help me out!!!

You can do it one way by putting the c# in a folder under a Plugins folder (or Standard Assets). More details here