Can I access a js component via a c# script?

I’m currently trying to access the character motor script via a c# script, but the character motor script is written in js. Will it be okay if i do this?

Short answer: Yes, it will. All of the code gets compiled to the same code (CIL I think it’s called?) when it’s running.

Long answer: It’s very hard to do, especially from C# accessing JS. I’m linking some pages for you to look at, the second one is better.

Try reading over this topic: http://forum.unity3d.com/threads/97537-Getting-C-script-to-call-a-Javascript-function

and thsi Accessing JavaScript variable from C# and vice versa. - Unity Answers