I have made sure that the files are correctly named and that they are called correctly in the script. Is there any other way to fix this?
First, I'm assuming you've read this manual page:
It describes the script compilation order. I'm linking it above for others which may encounter this answer from search terms which match the question.
Note that this is a one-or-the-other situation. You can't have references both ways between two scripts of a different language.
Make sure your scripts aren't both in different folders which fall into the same compilation pass. Eg, both "Plugins" and "Standard Assets" are compiled in the same pass.
If you have your scripts arranged in the correct compilation order, and you're not trying to make "both-way" references, then the only other option I can think of is that you might have a typo either in your script filename, or in your references to that script type in your other script.
As a corollary to Duck's answer:
If you find you need C# for certain programmatic problems, the 'both-way' reference problem is a great reason to switch entirely to C#.
answered Jan 30 '10 at 10:14 PM
Thank you for wonderful advice.
And sorry for being stoopid... But where is the plugin directory located? Under Library? I have a folder that is called Unity Projects, and in there all the data that I make go. There is no Plugin directory, and I can find one under Program Files either.
answered Jul 20 '10 at 08:51 AM
Hello, I found this tutorial and it quite simple: http://www.41post.com/1935/programming/unity3d-js-cs-or-cs-js-access
download the example to see it working