- Home /
Convert from JS to C#
Can anybody translate these two JavaScript sources to C#?
Chat.js:
https://www.dropbox.com/s/tol67q6a5vm0x7o/Chat.js
Initializing.js:
$$anonymous$$indly refrain from asking people to convert/modify/write your code for you. That is not what UnityAnswers is for.
Yeah if you want to avoid your questions being downvoted, don't ask people to write scripts for you. Ask HOW to write the script. In this case, you should ask HOW to convert a line of JS to C#.
Answer by ArkaneX · Sep 09, 2013 at 11:34 AM
This might not be the answer you were waiting for, but...
Translating these is not hard, but I highly doubt that anyone will do it for you, because it is time consuming.
If you don't feel good at translating JS to C# then maybe you can just get these scripts and put them into Assets\\Plugins folder and then you'll be able to use them from C#.
Another option would be to use some conversion tool, for example http://www.m2h.nl/files/js_to_c.php. But remember, that this won't solve all the issues, and you'd need to fix the code after conversion. But I guess this will be quite easy if you know C#. And I assume you know, if your code is C# based.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How do i begin with learn scripting. 3 Answers
Popup on collider 1 Answer