|
I tried to search and read many ways to access variable from javascript to C# I tried this compile However I get no result. Here is my process: First, I create new Project Second, I create folder Plugins Third, I create 1 C# script called "Cshape"
and 1 Java script called "Java"
How can I call the function ApplyDamage from Cshape script? Thanks for any help Regards.
(comments are locked)
|
|
OK I find the solution here, the JavaScript "Java" should be like this :
yup, this should work, just create the object with name "NameOfObjectAttatchThisScript" :p
(comments are locked)
|

And did you add these scripts to a GameObject?
Yes, of course, and I put 2 scripts into the folder "Plugins" but it not work :( Can someone help me?
Thanks, I did it man