Sign in to follow this  

Javascript and C#

This topic is 1966 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm 15 and still in highschool and have wanted to have a career in creating games for years. I've been working with Unity and have learned how to use Javascript to make my career dream possible, however, Unity is capable of working with Javascript and C# (as I'm sure most of you already know). I've been wondering if there's any way to convert Javascript into C# (or vice versa) to allow people who specialize in either one to provide assistance if my scripts don't work. I've also been wondering if it's possible to use the two formats together (like having both Javascript and C# scripts in a Unity game). If anybody knows the answers to either of my questions, their input will be greatly appreciated [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img] .

Share this post


Link to post
Share on other sites
Converting between Javascript and C#:[list]
[*][url="http://files.m2h.nl//js_to_c.php"]http://files.m2h.nl//js_to_c.php[/url] (js -> C# conversion tool)
[*][url="http://fragileearthstudios.com/2011/10/18/unity-converting-between-c-and-javascript-2/"]http://fragileearths...d-javascript-2/[/url] (blog with more info about js & C#)
[/list]

Using both js and C# in a Unity game:[list]
[*]Short answer: you totally can use both!
[*][url="http://answers.unity3d.com/questions/25070/c-scripting-and-javascript-in-the-same-project.html"]http://answers.unity...me-project.html[/url] (post on the subject)
[/list]

Also, you should definitely check out Unity Answers if you haven't already [url="http://answers.unity3d.com/index.html"]http://answers.unity3d.com/index.html[/url]

Just type your questions into the search box and be amazed when you find the answer 99% of the time!

Seriously we all use it all the time, it's great [img]http://public.gamedev.net//public/style_emoticons/default/biggrin.png[/img] Edited by Zojak

Share this post


Link to post
Share on other sites

This topic is 1966 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this