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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Suggest some C# books to learn Unity

Discussion in 'General Discussion' started by mnua801, Nov 3, 2015.

  1. mnua801

    mnua801

    Joined:
    Nov 3, 2015
    Posts:
    6
    Hi.
    I know that Unity is built in C#. I want to learn C# for unity. When I look for books, I only find books that deal with .net web examples. Please suggest me some books that deal with the fundamentals of C# comprehensively for Unity and not for web development.

    Please note that I do not want a book that focuses on Unity and discusses C# as accessory. Rather, I want a book that focuses on C# and discusses unity as the platform.

    Best regards.
     
  2. Yash987654321

    Yash987654321

    Joined:
    Oct 22, 2014
    Posts:
    729
    OMG Unity is BUILT IN C#
     
  3. Yash987654321

    Yash987654321

    Joined:
    Oct 22, 2014
    Posts:
    729
    BTW you will have better luck with online tuts rather than books
     
  4. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    No. Unity is built with C++. It uses C# as a scripting language.

    @mnua801 I'm not aware of any books that specifically deal with C# in Unity. You have options like the yellow book, that deals with C# in general, and is very good. You also have books like Unity in Action that deal with an intro to Unity. But I'm not aware of one with the narrow focus you desire.
     
    Ryiah and angrypenguin like this.
  5. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,384
  6. MightySheep

    MightySheep

    Joined:
    Sep 23, 2015
    Posts:
    21
    angrypenguin likes this.
  7. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
  8. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,516
    I'd strongly recommend The Yellow Book by Rob Miles, as already suggested by @BoredMormon. It's teaches general programming practices and approaches using C# as the language. It is not specific to Unity, but that's ok because learning programming shouldn't be specific to Unity. ;) (That might sound like a shortcut, but it just makes life harder in the long run.)
     
    Ryiah and Kiwasi like this.
  9. mnua801

    mnua801

    Joined:
    Nov 3, 2015
    Posts:
    6
    Thanks everybody for your kind support. I really appreciate it.
     
    angrypenguin likes this.
  10. BornGodsGame

    BornGodsGame

    Joined:
    Jun 28, 2014
    Posts:
    580
    It is a weird topic because there are definitely fundamentals you can learn from a C# book, but so much of the actual functionality of making a game is specific to games. My opinion is you are better off using videos from Brakys and Bergzurg to learn Unity C# scripting, and then at the same time you will pick up some of the more basic programming principles. For me at least, the Unity stuff is far more complicated, but the general programming stuff you just pick up along the way.
     
  11. Yash987654321

    Yash987654321

    Joined:
    Oct 22, 2014
    Posts:
    729
    lol I knew that. Didn't you got it from how my post was?
     
  12. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Not really. If something is meant to be taken sarcastically it helps to put on a smiley face of some sort. Like this :p
     
    theANMATOR2b and angrypenguin like this.
  13. elmar1028

    elmar1028

    Joined:
    Nov 21, 2013
    Posts:
    2,353
    C# Complete - This book may look like a major overkill for beginners, but I personally I found it useful for making games in Unity
     
    angrypenguin likes this.
  14. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    i got "C# in a nutshell: the definitive reference" pretty good... not for beginners, more a reference for while working on code
     
    Last edited: Nov 7, 2015
    angrypenguin and elmar1028 like this.