- Home /
Question by
Graeme · Jul 14, 2010 at 10:22 AM ·
javascriptgetcomponentorder
Passing a string from Javascript to C#
Is it possible to tell a C# script to get.Component (a javascript) and then perform a function depending on a string's value from the javascript? I understand that the javascript would have to compile first, thus putting it in the correct place but is there anything else I would have to consider?
Comment
Best Answer
Answer by Mike 3 · Jul 14, 2010 at 10:25 AM
No, you've pretty much got it - you put it in an earlier compilation pass folder (plugins/standard assets) and it should just work as if it were c# itself
Thanks! Just wanted to check it will work before I start doing anything.
Did you get answer for this ? passing a string from javascript to cs ? if yes, please share the details..