- Home /
Translating Javascript code into C# Code
Hey guys, I need help converting some code. I managed to (finally) find a guide to scratch building a character movement script in Javascript, but the problem is, I need to know how to write it in C#, which I'm still learning. Can somebody help me translate this code?
[Edited by Julien.Lynge]
Answer by Julien-Lynge · Jan 26, 2013 at 08:11 PM
@Hetros, I have edited your entry. First off, Java is not the same thing as Javascript. Second of all, your question (translate from Javascript to C#) has been asked literally hundreds of times. So often, in fact, that I've put together a blog post outlining how to do it:
http://fragileearthstudios.com/2011/10/18/unity-converting-between-c-and-javascript-2/
Good luck.
Answer by cscotttaakan · Jan 27, 2013 at 02:15 AM
Lol best way is to just compare the Unity reference script examples in c# to java script lol, thats how real thugs do it
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to not rely on the Visual Interface 0 Answers
iTween Visual Editor Event Call from C# to Javascript 1 Answer