Right now I’m taking a C# class in school and I’ve been learning the basics with console applications ect and I was reading somewhere online that learning C# with Unity has nothing to do with the .NET platform… So my question is what is the difference between unitys “version” of C# and Microsofts .NET platform and what direction or what “area” in general in the C# world should I study more in depth for using C# with Unity. I’ve noticed the syntax for c# is very similar to what I’ve been doing in school, but I’m assuming the difference between them is your using C# syntax to “call” or use the fancy stuff unity can do? I think that’s where I’m getting myself confused… I’m new to Unity but I’m VERY interested in learning more and going in depth. Any help would greatly be appreciated on top of pointing me in a direction to help get me started (Not limited to just c# just in general)
3 Answers
3My C# experience is limited (mostly debugging web code), but Unity C#, from my experience, is just another library. Generally, anything you can do in C# you can do in Unity, keeping in mind that there’s a 3D engine spitting out the graphics.
3DBuzz’s Unity Fundamentals (http://www.3dbuzz.com/vbforum/sv_videonav.php?fid=1ec1a7be9c0d4cf9e7a31525250a30ff) is a good place to start for Unity specific code.
If you want something a little more free-flowing that’s coded on the fly, Petey at Burgzerg Arcade has a nice video series (BurgzergArcade.com is for sale | HugeDomains) that even covers some of the basics of C#.
Thank you very much Rmaniac! Sorry for the delayed reply I forgot my log in but I did Google my question to see your answer a while ago I’m just now getting back on here haha. This website has really been helping a lot to get started… I know I kind of rambled in my question but that’s what I thought about the library as you were explaining. I’m trying to figure out the work that’s already been done for me and the areas where I really need to focus and get it down but this website is a great start…
The main difference is that Unity uses the Mono.NET framework, instead of the Microsoft.NET framework. Two very well known widely used framework libraries. You can easily google any differences but in most cases the differences are fairly minor.
So just keep learning what you are learning in C# and it will help your Unity skills.
And as RManiac says you are also working with the UnityEngine MONO.NET namespace which has lots of 3D methods and classes to make your game development easier.
Edit please excuse the hyperlinks, QATO puts them in there automatically.
Please don't post comments as answers. Use the 'Add new comment' if you wish to reply to someone's answer.
– Meltdown