| Digital List Price: | $32.99 |
| Kindle Price: | $20.44 Save $12.55 (38%) |
| Sold by: | Amazon.com Services LLC |
Your Memberships & Subscriptions
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Learning C# by Developing Games with Unity 3D Beginner's Guide Kindle Edition
In Detail
For the absolute beginner to any concept of programming, writing a script can appear to be an impossible hurdle to overcome. The truth is, there are only three simple concepts to understand: 1) having some type of information; 2) using the information; and 3) communicating the information. Each of these concepts is very simple and extremely important. These three concepts are combined to access the feature set provided by Unity.
"Learning C# by Developing Games with Unity 3D" assumes that you know nothing about programming concepts. First you will learn the absolute basics of programming using everyday examples that you already know. As you progress through the book, you will find that C# is not a foreign language after all, because you already know the words. With a few keywords and using substitution, before you know it, you'll be thinking in code.
The book starts by explaining in simple terms the three concepts you need for writing C# code and scripts: 1) variables to hold information; 2) methods (functions) to use the information; and 3) Dot Syntax to communicate the information where it's needed. The book builds on these concepts to open up the world of C# coding and Unity scripting. You will use this new power to access the features provided in Unity's Scripting Reference.
The first half of this book is devoted to the code writing beginner. The concepts of variables, methods, Dot Syntax, and decision processing are fully explained. Since C# is an actual programming language, we take advantage of this to develop a State Machine to help control and organize each phase of a Unity project. Once the basic programming concepts are established and we have some State Machine organization, the features and power of Unity are accessed using the Scripting Reference.
The goal of "Learning C# by Developing Games with Unity 3D" is to teach to you how to use the Unity Scripting Reference.
Approach
This book uses the learning-by-example approach. It takes simple examples from games to introduce all the main concepts of programming in an easy-to-digest and immediately recognizable way.
Who this book is for
This book is for the total beginner to any type of programming, focusing on the writing of C# code and scripts only. There are many parts that make up the Unity game engine. It is assumed that the reader already knows their way around Unity's user interface. The code editor used in this book is the MonoDevelop editor supplied by Unity.
- ISBN-13978-1849696586
- PublisherPackt Publishing
- Publication dateSeptember 25, 2013
- LanguageEnglish
- File size19543 KB
Editorial Reviews
About the Author
Terry Norton
Terry Norton was born and raised in California. During the Vietnam era, he served six and half years in the US Air Force. While in the military, he was trained in electronics for electronic counter-measures. Upon discharge, he earned his Electrical Engineering degree, and later working for Joslyn Defense Systems in Vermont, designing and developing test equipment for the US Navy.
When personal computers came on the scene, he took an interest in building computers, but never quite delved deep into the programming side. It wasn't until 2004 that programming peaked his interest. He began writing articles for OS/2 Magazine to teach C++ programming. Unfortunately, damaging his left hand in a snowblower accident in 2005 ended his writing for a couple years.
IBM abandoned OS/2, so Terry bought his first Apple computer in early 2006. He tried a few times to learn Objective-C, but work and family always seemed to sidetrack his efforts. It wasn't until about 2010 when he discovered Unity and the need to write scripts, that he finally made some progress into the programming world. He began writing an online tutorial for UnityScript titled UnityScript for Noobs. It was a basic tutorial for beginners made available just before Unite 2011.
Since then, Terry has been learning C# for writing scripts for Unity. Packt Publishing noticed UnityScript for Noobs and asked if he would be interested in writing a book about learning UnityScript. He declined. He felt that C# was a better language, and his heart just wasn't into UnityScript any longer. Two weeks later, Packt offered him the opportunity to write a book about learning C# for Unity. He jumped on it.
--This text refers to an alternate kindle_edition edition.Product details
- ASIN : B00FFUL9LY
- Publisher : Packt Publishing (September 25, 2013)
- Publication date : September 25, 2013
- Language : English
- File size : 19543 KB
- Text-to-Speech : Enabled
- Screen Reader : Supported
- Enhanced typesetting : Enabled
- X-Ray : Not Enabled
- Word Wise : Not Enabled
- Sticky notes : On Kindle Scribe
- Print length : 294 pages
- Page numbers source ISBN : 1849696586
- Best Sellers Rank: #3,063,777 in Kindle Store (See Top 100 in Kindle Store)
- #525 in C# Programming (Kindle Store)
- #1,228 in Computer Games Programming
- #1,266 in C# Programming (Books)
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read author blogs and more
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Cons: 1.) It sometimes over-explains things. Note: It does do a good job of explaining(for the most part) but does it in a very tedious manner.
2.) It really just explains basic C# and how to begin making a game using a state machine. Which is all I needed (I already knew C and some C++ so chapters 1-4 and 1/2 of chapter 5 was stuff I already knew ), but if you are looking to get a high polished game out of this book then you should look elsewhere.
3.) He sometimes leaves out steps, which was easy enough for me to figure out; but, if you are brand new to programming and/or using Unity then it may be a little difficult to know how resolve these issues.
Despite these cons I still gave it a 5 because they were insignificant to me.
I knocked off 1 star because there are some pretty glaring typos throughout and I had to reread many sentences to figure out what words were missing. The material is also already outdated somewhat. The screenshots shown for documentation on the Unity website are different (the author mentions this is the case), but some of the Unity screenshots shown are no longer the same, either. I downloaded the free version on 12/2/2013 (version 4.3.1) and what is shown in the book isn't the same in some cases. It's not hugely different either, but something to be aware of.
Finally, there are some steps missing from some of the examples used. One of the most notable ones to me is at the beginning where you are supposed to look at documentation (Time for action -- opening the Reference Manual documentation for the transform Component on page 11). You are supposed to look at the Hierarchy tab before you even create a project.
Personally I’ve been programming in many languages for years, however I’ve only really dabbled with C#. So I figured this book could be a good refresher. Unfortunately it is on such a basic level that it doesn’t really cover the features that make C# unique. If you have any programming experience the text will seem remedial. Some of the topics in the book include: variables, functions/methods, classes, and dot syntax. The main example project covers creating a state machine to handle switching between different screens. In actuality, this is a good introduction to programming though it doesn’t teach you nearly enough to be able to start creating a complete game in Unity. However, it is called a ‘beginner’s guide’ so it’s not like it was mislabeled.
Learning C# by Developing Games with Unity 3D comes in at just under 300 pages, so it is not a long read. I think I finished it up in less than a week. So I’m not terribly upset about taking my time to check this out. To the book’s credit, I did learn one new trick: how to have a component act as a singleton, so I did gain something. I do think if you are an artist with no previous programming knowledge, this could be a great intro into the field. However, to get anything serious done you will still need some other books to take you to the next level. Overall not a bad book, but if you’ve already be coding for any period of time you can probably skip it.
Not only will it help you draw some life out of your project , you will also learn some true C# fundamentals.
I think even if you know some about C# in the Desktop , App World this will still help you to harness your abilities in the unity framework.
Last Note: I recommend getting some where quiet with the book as when any book & just read it, If you can not be in front of a computer none stop , this is also a great book to travel with.
Well worth the price IMO.
Top reviews from other countries
• Pro: Il libro parte dalle basi, cominciando proprio dai fondamenti del linguaggio C# e può essere adatto per cominciare a coloro che non hanno ancora avuto la minima esperienza con il linguaggio di programmazione. Inoltre, è molto comoda la presenza di esempi concreti per avvicinarci allo sviluppo su Unity.
• Contro: Alcuni concetti fondamentali della programmazione sono spiegati in modo molto superficiale e vengono quasi snobbati, pur essendo molto importanti per lo sviluppo di progetti un po' più ambiziosi di quelli proposti dal libro. Inoltre, con il tempo, mi sono accorto che questo libro non spiega nulla che non si possa trovare, spiegato in modo anche più dettagliato, online, con risorse più aggiornate e una community disposta a rispondere alle mie domande/dubbi.
In conclusione, dopo aver passato mesi ad utilizzare Unity ed altri engines, mi sono reso conto che questo libro non dice niente di particolarmente interessante, è un buon modo per cominciare se si è proprio agli inizi inizi, ma rimango dell'idea che il modo migliore per imparare sia pensare ad un progetto che vorreste sviluppare e cercare di arrivare il più vicini possibili al risultato desiderato, utilizzando soltanto il vostro skillset attuale e cercando di risolvere i problemi incontrati nel modo più istintivo possibile. Quando avrete finito questo progetto, avrete imparato così tante cose, che il vostro obiettivo secondario potrebbe essere decidere di risvilupparlo da zero, facendolo meglio. Una volta fatto anche questo, riuscirete ad arrangiarvi con le risorse online e la community di GameDevs, per migliorare il vostro codice e le vostre abilità.
Wished there was a little more explanations on types and general explanations and slightly more in-depth examples for "Beginners" More on the beginners stuff and less on arrays lists and things.at least for the start of the book.otherwise great book for beginners
You won't see any example projects or direct tutorials, but it does show you different implementations of how to execute well known functions and procedures such as limited/numbered loops, and basic programming concepts anyone should know when starting out.
A stellar book that basically helped me climb over the final steep part of my learning curve with programming, and finally gave me that "eureka" moment with programming in general, and not just C#.
If you've tried to learn programming, but are just finding it a tad bit difficult, and are looking for that "holy grail" book to finally sink it into your head, this book will knock you over to the other side of the fence you're standing on. If you're a programmer but are trying to learn C# specifically for Unity, you'll breeze through this in days.
And I did not regret it.
The book is thorough and explains the syntax of C# carefully and VERY beginner friendly.
If you already know the basics of coding it does not hurt to read the authors very good explanation of the structure. It is a nice introduction into C# for Unity3d. I had problems switching from more tolerant languages to the very strict syntax of Unity3d C#-- not anymore, as this book had me up and running in a couple of days.
I would also recommend this book to total programming beginners and teachers, as the author does a wonderful job explaining the basics of object-oriented programming in a nice and easily memorizable way.