C# Script and Javascript working togheter

Hello, I’ve two script:
the 1st is a C# script (that I’ve converted from JS), and the 2nd is a JS script.
In the JS file there is defined a type that I need to use in the C# script, and also there are some functions that I need to call from the C# script.
How can I tell the C# script to use them from the JS ??

Sorry if this looks a bit confusing…

Many thanks

Create a folder named Plugins (if it does not already exist) in the Assets folder. Then do as you usually do with JS scripts

Or do a search on this site, the forums or Google

http://docs.unity3d.com/Documentation/ScriptReference/index.Script_compilation_28Advanced29.html

I’ve solved by just placing the JS in the standard asset folder :wink:

This has been answered many times before, search your question before posting duplicate questions.

You cannot access scripts both ways. C# can see JS but JS cannot see C# … OR … JS can see C# but C# cannot see JS.