Sign in to follow this  
WulfTheWulf

Unity Best Language to use in the Unity Engine

Recommended Posts

I decided to choose my Engine before choosing the Language, that way I would learn the best Language for the type of game I'm working on, in this case, I'm working on a town-like game that's supposed to have many players in it at one time, possibly up to 50, Also I need to be able to make Dynamic AI. So I'm just wondering which of the 3 Unity-Compatible Languages is the best to learn for my game? Boo, C#, or JavaScript?

Share this post


Link to post
Share on other sites

I decided to choose my Engine before choosing the Language, that way I would learn the best Language for the type of game I'm working on, in this case, I'm working on a town-like game that's supposed to have many players in it at one time, possibly up to 50, Also I need to be able to make Dynamic AI. So I'm just wondering which of the 3 Unity-Compatible Languages is the best to learn for my game? Boo, C#, or JavaScript?

It doesn't matter, also: strictly speaking its not JavaScript, its UnityScript (its based on JavaScript but there are a few differences).

All 3 languages get compiled to MSIL and then to native code by mono at runtime so performance should be reasonably similar(it is possible that mono does a better job at generating optimized MSIL code from one language or another but the engine really does most of the heavy lifting anyway), all 3 languages have full access to the engine and equal access to things like the .Net framework.

Personally i'd recommend going with C# or Boo since those are nice to know even if you don't use Unity.

Share this post


Link to post
Share on other sites

Other than the vague idea that it's similar to Python I don't really know anything about Boo, so I can't comment on it.

 

Choosing between C# and UnityScript -- noting the correction Simon already made, that it's similar but not identical to JavaScript -- I would personally prefer C# as a language and think it probably has more applications outside of Unity, but... JavaScript may be a better choice for Unity development; it's far more commonly used, there are many more examples to be found using it, and most of the user-created tutorials you'll find will use it.

 

 

You won't be strongly disadvantaged using any language however, so choose the language you personally prefer. smile.png

Share this post


Link to post
Share on other sites

It appears to me that the Unity team is beginning to default to C# over UnityScript.  This isn't the only thing I've seen, but for example the example project in the new learning section uses C# in the videos.  Sure, below the videos you can see the code in all 3 languages like the rest of the documentation, but the videos were done with C#.

 

I myself agree with the above posters that C# would be the better choice overall.  Like they said, as far as Unity goes there is no "real" difference between the three, but C# is more directly usable outside of Unity, and as far as I know the other 2 are not.  For example, I have seen that Unityscript has some things that Javascript does not have, and that could confuse you should you try using your newfound unityscript skills elsewhere.  Boo supposedly has some differences from Python too, though I'm not sure what they are.  But C# is pretty much the same.  The only difference(which is different in any case anyway, even with other game engines/APIs) is that you won't have access to Unity specific things when using C# outside of Unity.

Share this post


Link to post
Share on other sites

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  

  • Announcements

  • Forum Statistics

    • Total Topics
      628378
    • Total Posts
      2982334
  • Similar Content

    • By sveta_itseez3D
      itSeez3D, a leading developer of mobile 3d scanning software, announced today a new SDK for its automatic 3D avatar generation technology, Avatar SDK for Unity. The Avatar SDK for Unity is a robust plug-n-play toolset which enables developers and creatives to integrate realistic user-generated 3D avatars into their Unity-based applications. SDK users can allow players to create their own avatars in the application or integrate the SDK into their own production processes for character design and animation.
      “Virtual avatars have recently become increasingly popular, especially in sports games and social VR apps. With the advance of VR and AR, the demand to get humans into the digital world is only increasing”, said Victor Erukhimov, itSeez3D CEO. “Our new Avatar SDK for Unity makes it super-easy to bring the avatar technology into any Unity-based game or VR/AR experience. With the Avatar SDK for Unity now every developer can bring face scanning technology into their games and allow players to create their own personalized in-game avatars, making the gameplay much more exciting and immersive.”
      Key features of the Avatar SDK for Unity:
      Automatic generation of a color 3D face model from a single selfie photo in 5-10 seconds (!). Works best with selfies, but can be used with any portrait photo.
      Shape and texture of the head model are unique for each person, synthesized with a deep learning algorithm crafted by computer vision experts
      Head models support runtime blendshape facial animations (45 different expressions)
      Generated 3D heads include eyes, mouth, and teeth
      Algorithms synthesize 3D meshes in mid-poly resolution, ~12k vertices, and ~24k triangles
      Six predefined hairstyles with hair-recoloring feature (many more available on request)
      Avatar generation API can be used in design-time and in run-time, which means you can allow users to create their own avatars in your game
      Cloud version is cross-platform, and offline version currently works on PCs with 64-bit Windows (support for more platforms is coming soon)
      Well-documented samples showcasing the functionality.
       
      Availability
      The Avatar SDK for Unity is offered in two modes - “Cloud” and “Offline”. The “Cloud” version is available at http://avatarsdk.com/ and the “Offline” version is available by request at support@itseez3d.com.
      ###
      About itSeez3D
      At itSeez3D, we are working on the computer vision technology that turns mobile devices into powerful 3D scanners. itSeez3D has developed the world's first mobile 3D scanning application that allows to create high-resolution photorealistic 3D models of people's' faces, bodies and objects. The application is available for iOS and Windows OS mobile devices powered with 3D cameras. In 2016 the company introduced Avatar SDK that creates a realistic 3D model of a face from a single selfie photo. To learn more about itSeez3D scanning software and 3D avatar creation technology, please visit www.itseez3d.com and www.avatarsdk.com.

      View full story
  • Popular Now