To get the most out of this book
- Pay attention to this book not as a tutorial but as many tools being used to develop a 3D game. We’re only going over a few simple examples. Take the logic out as something to apply to your projects as much as possible.
- Be prepared to take your own notes on the topics that are being covered. We ramp up the difficulty in programming quite a bit during the physics portion.
- Ask questions in the Discord, which is attached to the book through a QR code.
Download the example code files
The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/Unity-3D-Game-Development. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Download the color images
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://static.packt-cdn.com/downloads/9781801076142_ColorImages.pdf.
Conventions used
There are a number of text conventions used throughout this book.
CodeInText
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: “Mount the downloaded WebStorm-10*.dmg
disk image file as another disk in your system.”
A block of code is set as follows:
void OnStartGameButtonPressed()
{
SetPlayerEnabled(true);
Cursor.lockState = CursorLockMode.Locked;
Cursor.visible = false;
this.gameObject.SetActive(false);
}
Bold: Indicates a new term, an important word, or words that you see on the screen. For instance, words in menus or dialog boxes, also appear in the text like this. For example: “Select System info from the Administration panel.”
Warnings or important notes appear like this.
Tips and tricks appear like this.