What is the proper way to call a JavaScript function from C# ?
I have a .js attached to an object and a .cs file attached to another (in unity).
Thanks in advance!!
-Jake
What is the proper way to call a JavaScript function from C# ?
I have a .js attached to an object and a .cs file attached to another (in unity).
Thanks in advance!!
-Jake
Your JS needs to be in the “plugins” folder for it to be exposed. It will be treated just like any other script at that point and your C# can directly work with it as though it was all the same language.