Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Getting Started with Unity 5
  • Table Of Contents Toc
  • Feedback & Rating feedback
Getting Started with Unity 5

Getting Started with Unity 5

By : Dr. Edward Lavieri Jr.
2.9 (27)
close
close
Getting Started with Unity 5

Getting Started with Unity 5

2.9 (27)
By: Dr. Edward Lavieri Jr.

Overview of this book

If you are a game developer interested in learning Unity 3D from scratch and becoming familiar with its core features, then this book is for you. No prior knowledge of Unity 3D is required.
Table of Contents (10 chapters)
close
close

C# programming primer


C# is a comprehensive programming language. Teaching you how to use this language is beyond the scope of this book. I'll provide enough information in this section so that you can understand the custom scripts we'll be writing for our game.

Note

For a deeper understanding of how to program using the C# language, you can use one of the many books available from Packt Publishing on the subject.

C# is both a function-based and object-oriented language. Functions are reusable sections of code that we script. For example, if we create a script called feedPig, it might handle transferring water and corn from Colt to a pig. Since we have multiple pigs in our game, this function would probably get used a lot.

As I've mentioned, C# is also an object-oriented programming (OOP) language. OOP languages use classes, which are sets of data and functions. If we have a babyChick class, for example, that class can hold data on how much corn the baby chick has eaten. That same class can...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Getting Started with Unity 5
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon