Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Learn C# in Unity's IDE or Visual Studio?

Discussion in 'Editor & General Support' started by Lanmind, Apr 5, 2013.

  1. Lanmind

    Lanmind

    Joined:
    Apr 5, 2013
    Posts:
    6
    Hello, so I'm quite the beginner with Unity. I want to code using C# and I've been looking around at tutorials and I'm confused if I should learn C# in Microsoft's Visual Studio IDE or Unity's IDE. I'm thinking it doesn't matter much if my only goal was to learn C#. Since my goal is to program specifically in Unity with C# I would be better off learning C# in Unity's IDE correct? So as to become familiar with Unity's IDE also. Or would it be better idea to learn C# in a different environment?

    I know this was a complete noob question lol. I'm hoping to get some good pointers on where to start and maybe I'll learn some other things from seasoned programmers. For reference on where my programming level is at a few years ago I did learn some web languages such as PHP, javascript, Ajax, XML using a mysql DB. I worked with them for a year or so and others associated with a dynamic site. I coded entirely by hand in Notepad++ and stayed away from any type of WYSIWYG editor. I definitely was not even at an intermediate level using those languages. I did however learn a decent amount about the core of scripts and a little bit about OOP. It was an intense and satisfying experience :)

    Thank you very much for your time and any tips you can pass along.
     
  2. jc_lvngstn

    jc_lvngstn

    Joined:
    Jul 19, 2006
    Posts:
    1,508
    I think it's a good question, but I'm wondering...is your goal to master using the language effectively and produce something with it, or are you trying to master different tools?

    If you focus is just on learning the language and producing something with it, I suggest using an IDE that makes that as convenient as possible: Visual Studio. It really is the best tool for that purpose. That's like being given a nice screwdriver to drive screws.
    If you can purchase the full version of VS, and get Resharper...it's like being given a power screwdriver.

    Anything else (in my humble opinion) is like using a penny or a butter knife. It works...it's not as good as the real thing.

    Ok...maybe a butter knife is a little harsh :) But you get my drift. Sorry everyone who likes using butter knives instead of screwdrivers ;)
     
  3. Compguru910

    Compguru910

    Joined:
    Mar 27, 2013
    Posts:
    4
    Very good question indead. I would recommend learning C# in Visual Studio. The Mono editor in Unity is a great tool, but the support and the debugging in Visual Studio is far superior. The syntax help and language reference in Visual Studio is excellent in my opinion, and is by far my favorite IDE out of all of them (and im talking about for Java/C as well). But, I recommend not focusing on Unity specific tutorials/books if your going to go that way. It could substantially stunt your growth. Also, dont confuse yourself with the C# core language and the Unity specific SDK. Those could handycap you latter on down the road. Make sure you make a fine destinction between the two, and then move on. Hope this helps
     
  4. AstralProjection

    AstralProjection

    Joined:
    Feb 12, 2013
    Posts:
    11
    The big drawback to using Visual Studio is that when you are forced to use other IDE's, it is like going back to the stone age. ;(
     
  5. Lanmind

    Lanmind

    Joined:
    Apr 5, 2013
    Posts:
    6
    I've decided to use MS Visual
    Studio for the support provided there. I found some good beginner tutorial videos checked out a learn C# Visual Studio book from the library. I'm enjoying getting back into programming and Visual Studio is quite a helpful tool to have! I'm going to keep learning C# with it and if I can't import scripts in Unity that were authored using VS then that's okay. I will have learned C# and will likely be okay authoring with Unity's IDE be it less ideal or not. My main goal is to get a firm grasp of the language and its coming along well right now. Thank you all for the input!
     
  6. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    We ares sticking with Mono develop, because its working / is available on PC and mac.
    Mono-develop is ok (if it have a good day and not is making wired interface things on my mac)