Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by JackRetala · May 23, 2015 at 02:44 PM · c# to javascript

Could you make a game in C# and make the same game with UnityScript?

I want to use UnityScript as it sounds easier to learn, but I also want to make the best quality games and take the best route. As long as I can make large scale games like Skyrim I will go with UnityScript, but if C# will be the better path for stuff like that then I'm going with C#. I am leaving Boo out of the question since it is pretty much Python and I had a bad experience with stuff like that.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Owen-Reynolds · May 23, 2015 at 04:23 PM 1
Share

Do a search for "unity which language should I use." Also, "unity learn scripting."

Read for yourself, but I believe the consensus is to just learn C#, and Unity script used to be advertised as an easier "getting started" language.

avatar image Lo0NuhtiK · May 24, 2015 at 04:07 AM 0
Share

Learn them all.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Dellitsni · May 23, 2015 at 03:09 PM

The difference between C# and JavaScript is not very huge. Generally, if you know UnityScript, it will not take you more than an hour to learn C#, and the other way around too.

C# is, as you most likely already know, faster. It is after all made for programming games and executables. JavaScript is a bit easier to understand, and for some reason, more people use it, which results in easier bug fixing, but it is a bit slower, and can be extremely confusing and limiting when getting into more complicated code.

My advice is to learn C#, and then just go with that. If you decide that you want to learn UnityScript later on, then that is most likely not going to be a problem, and you can easily learn it in a good hour.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Eric5h5 · May 23, 2015 at 03:46 PM 0
Share

C# is not faster. All languages in Unity compile to the same bytecode.

avatar image fafase · May 23, 2015 at 04:41 PM 0
Share

Nope, both are same speed since converted to IL in the end and most of the method are just wrapper for C++. Only difference I have found is UnityScript is not strongly typed which I consider a problem (personal) and I think is limited in some situations like generic and delegate/event. There may be other cases where UnityScript is limited, I do not know them as I do not use it.

avatar image SomeGuy22 · May 23, 2015 at 07:33 PM 0
Share

I thought C# and Javascript ran at the same rate, but C# compiles faster? Also when you get into Environment classes and Directories things will definitely be easier in C#.

avatar image Eric5h5 · May 24, 2015 at 05:21 AM 0
Share

Why? It's the exact same stuff in either case. @fafase: Unityscript is strongly typed.

avatar image
1

Answer by Eric5h5 · May 24, 2015 at 05:26 AM

All of the Unity classes and all .NET classes are available in both languages, so technically yes you can make the same game in either language. Not that it matters, since by the time you're able to make something like Skyrim, it's basically irrelevant since you'd be able to program in whatever language you need to anyway. In other words, you're worrying about the wrong thing. Just learn Unity and how to program first.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

C# to Jacascript 1 Answer

Unexpected Errors - Need help & explaination plz 2 Answers

Converting simple C# to Javascript 0 Answers

Passing constructor parameters in UnityScript 1 Answer

Im trying to make a C# program that outputs text on the screen like a typewriter. How would I do this? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges