Book description
Designed to give you enough familiarity in a programming language to be immediately productive, Learning C# Programming with Unity 3D provides the basics of programming and brings you quickly up to speed. Organized into easy-to-follow lessons, the book covers how C# is used to make a game in Unity3D. After reading this book, you will be armed with
Table of contents
- Acknowledgments
- Chapter 1 - Introduction: What This Book Is About
-
Chapter 2 - Before You Begin
- 2.1 What Will Be Covered in This Chapter
- 2.2 Downloading and Installing: It Is Free
- 2.3 Unity 3D Overview: What Weâre Looking At
- 2.4 Sample Code
- 2.5 Working with C#: Game Engines
- 2.6 What Weâve Learned
- 2.7 Leveling Up
-
Chapter 3 - First Steps
- 3.1 What Will Be Covered in This Chapter
- 3.2 Review
- 3.3 Tokens
- 3.4 Statements and Expressions
- 3.5 Keywords
- 3.6 White Space
- 3.7 Code Blocks
- 3.8 Classes
- 3.9 Variables
- 3.10 Variable Names
- 3.11 Types: A First Look
- 3.12 Strong Typing
- 3.13 Type Casting, Numbers
- 3.14 Comments
- 3.15 Leveling Up: Moving On to Basics
-
Chapter 4 - Basics: The Building Blocks of Code
- 4.1 What Will Be Covered in This Chapter
- 4.2 Review
- 4.3 Building Up a Game Idea: Working with What You Know
- 4.4 Creating a Class
- 4.5 Directives
- 4.6 Functions
- 4.7 Order of Operation: What Is Calculated and When
- 4.8 Scope: A First Look
- 4.9 This
- 4.10 Turning Ideas into CodeâPart 1
- 4.11 Logic and Operators
- 4.12 Loops
- 4.13 Scope, Again
- 4.14 Warnings versus Errors
- 4.15 Leveling Up: Fundamentals
-
Chapter 5 - Fundamentals
- 5.1 What Will Be Covered in This Chapter
- 5.2 Review
- 5.3 Inheritance: A First Look
- 5.4 Instancing
- 5.5 Static
- 5.6 Turning Ideas into CodeâPart 2
- 5.7 Jump Statements
- 5.8 Operators and Conditions
- 5.9 Arrays: A First Look
- 5.10 Jump Statements: Break and Continue
- 5.11 Multidimensional Arrays
- 5.12 Array List
- 5.13 Strings
- 5.14 Combining What Weâve Learned
- 5.15 Source Version Control
- 5.16 Setting Up a Repository
- 5.17 Leveling Up: On to the Cool Stuff
-
Chapter 6 - Intermediate
- 6.1 What Will Be Covered in This Chapter
- 6.2 Review
- 6.3 Pseudocode
- 6.4 Class Constructors
- 6.5 Arrays Revisited
- 6.6 Enums
- 6.7 Switch
- 6.8 Structs
- 6.9 Class Data
- 6.10 Namespaces
- 6.11 Functions Again
- 6.12 Unity 3D Execution Order
- 6.13 Inheritance Again
- 6.14 Type Casting Again
- 6.15 Working with Vectors
- 6.16 goto Labels
- 6.17 More on Arrays
- 6.18 Out Parameter
- 6.19 Ref Parameter
- 6.20 Type Casting Numbers
- 6.21 Types and Operators
- 6.22 Operator Overloading
- 6.23 Controlling Inheritance
- 6.24 Leveling Up
-
Chapter 7 - Advanced
- 7.1 What Will Be Covered in This Chapter
- 7.2 Review
- 7.3 MonoDevelop
- 7.4 Function Overloading
- 7.5 Accessors (or Properties)
- 7.6 Base Classes: Another Look
- 7.7 Optional Parameters
- 7.8 Delegate Functions
- 7.9 Interface
- 7.10 Class Constructors Revisited
- 7.11 Preprocessor Directives
- 7.12 Exceptions
- 7.13 IEnumerator
- 7.14 Generics
- 7.15 Events
- 7.16 Unity-Friendly Classes
- 7.17 Destructors
- 7.18 Concurrency or Coroutines
- 7.19 Dictionary, Stacks, and Queues
- 7.20 Callbacks
- 7.21 Lambda Expressions
- 7.22 Leveling Up
-
Chapter 8 - Extended
- 8.1 What Weâll Be Covering in This Chapter
- 8.2 Review
- 8.3 Readability Optimizations and Idioms
- 8.4 Source Control Revisited
- 8.5 Debugging
- 8.6 Recursion
- 8.7 Reflection
- 8.8 LINQ
-
8.9 Bitwise Operators
- 8.9.1 Big Endian and Little Endian
- 8.9.2 Signed or Unsigned
- 8.9.3 Bitwise Or |
- 8.9.4 Enums and Numbers
- 8.9.5 Bitwise And &
- 8.9.6 Bitwise Exclusive Or ^ (xor)
- 8.9.7 Setting Bitwise Flags
- 8.9.8 Bitwise Shortcuts | = and ^ =
- 8.9.9 Bits in Numbers
- 8.9.10 Bit Shifting >> and <<
- 8.9.11 What Weâve Learned
- 8.10 Bitwise Math
- 8.11 Attributes
- 8.12 Architectures and Organization
- 8.13 Design Patterns
- 8.14 Continuing on Your Own
- Chapter 9 - Stuff We Couldnât Cover
- Chapter 10 - Good Luck
Product information
- Title: Learning C# Programming with Unity 3D
- Author(s):
- Release date: August 2014
- Publisher(s): A K Peters/CRC Press
- ISBN: 9781498760201
You might also like
book
Learning C# by Developing Games with Unity 3D Beginner's Guide
The beauty of this book is that it assumes absolutely no knowledge of coding at all. …
book
C# Game Programming Cookbook for Unity 3D, 2nd Edition
This second edition of C# Game Programming Cookbook for Unity 3D expounds upon the first with …
book
Developing 2D Games with Unity: Independent Game Programming with C#
Follow a walkthrough of the Unity Engine and learn important 2D-centric lessons in scripting, working with …
book
2D Game Development with Unity
This book teaches beginners and aspiring game developers how to develop 2D games with Unity. Thousands …