call a javascript function from c-sharp

hi , I need to call a javascipt function from a c-sharp file , is there any way to do this ?


You’ll probably have to add this Javascript into Standard Asset’s Folder because of the script compiling order. That will prevent you from sending messages on a two side bridge. You’ll be able to call methods from one side only. I had this problem myself and decided to move all my codebase to csharp, to avoid this problem.

Yes. Also, on this website there is handy white box top right called Search. If you enter “call javascript from c#” in that box and press enter, you’ll get lots of help.