calling C# objects in Javascript

Hello guys,

I have a bunch of scripts in C# and I would like to exploit them in my Javascripts, is it possible to call the C# into Javascript?

Kind Regards,
Giancarlo

i’m pretty sure GetComponent(); works on public variables/functions in C#.

Well,

I have a C# script which defines a class called OBJ.
So, now I need to allocate an object OBJ in my javascript… but the definition is in C#

GC.

Found the trick. it was just enough to create the Standard Asset folder in my project and put all the C# in there.

GC.