- Home /
Question by
dansav · Jul 01, 2013 at 08:43 PM ·
javascriptcallcs
call unity javascript from cs plugin
I'm trying to call a unityscript function from a cs plugin. I'm having trouble because the plugins are compiled first so I can't reference the script because it doesn't know about it yet.
Some posts say use SendMessage but it sounds like it will require me to rewrite all the unityscript functions to have arguments when they do not already take arguments.
Is there a way to call a function in a unityscript from a cs plugin without sendmessage? If not do the sendMessages always have to have an argument?
Comment