JS to C# converter

M2HCS2JS

This is a link to a page on the M2H Game Studios‘ site that converts UnityScript/Unity.js to C# converter:

http://www.m2h.nl/files/js_to_c.php

This is very convenient site.

You can paste your Unity JavaScript (UnityScript) code into the top box on the page, hit process, and get the C# out the bottom!

Now this is not a perfect translation, as there are certain bits of code that cannot be accurately converted without human intervention. It is a MUST that you check and recheck your new C# code after you get it.

That being said, this site can take the heavy lifting and grunt work out of converting a script from Unity’s JS to C#!

[edit]

The Unity Asset Store now carries not only a JS->C# converter but a C#->JS converter by M2H Game Studios.

[/edit]

No Comments

Leave a Comment

Please be polite. We appreciate that. Your email address will not be published and the required fields are marked.