Learn how to build 3D games with the Unity game engine, while utilizing best-practice game development techniques. By Eric Van de Kerckhove, Matt Larson & Ben MacKinnon.
Who is this for?
The book is for anyone who wants to build a 3D game with the Unity game engine.
- The Unity Editor
- The Unity Hub
- GameObject Templates
- Scripting with C#
- User Interface Design
- Scriptable Objects
- Nav Mesh Agents
- AI Navigation
- Virtual Cameras
- Asynchronous Functions
- Object Pooling
- Animation Concepts
- Animator Component
- Scriptable Objects
In this book, you’ll learn how to build 3D games using Unity - one of the most popular cross-platform game engines available today. The book will first describe the most commonly used features of the Unity Editor and the Unity Hub. It’ll then go on to describe how you build...more
Before You Begin
This section tells you a few things you need to know before you get started, such as what hardware and software you’ll need to get the most out of this book, where to find the project files for this book, and more.
Section I: Creating Your First Game
Unity provides two applications to help you manage your game assets: the Unity Hub and the Unity Editor. This section will introduce you to both and show you how to start building your first game.
You’ll learn all about the Unity Editor’s user interface and gain a solid understanding of how everything is organized. Then, you’ll learn about GameObjects and Prefabs. You’ll go on to write some basic C# scripts to enhance the gameplay and add some interactivity to your first game: a very strange weapon-manufacturing machine!
Section II: Now You're Building With Components
Cameras, lights, sound, action! This section introduces you to a new game, where you’ll learn how to build cameras, lights, sound and interactivity! These are essential elements for any game because they make games compelling and fun to play.
You’ll also learn how to add a user interface and build a dialogue system to allow players to talk to your game’s avatars. The project in this section is set in a dining hall, so head on down there right away and you’ll meet some very strange characters indeed!
Section III: Smart Enemies & the Bigger Picture
Your player shouldn’t be the only smart character in a game. In this section, you learn how to use the power of Unity to automatically control enemies to make your game a challenge. You’ll discover how to define where your enemies can roam and how to get them to attack!
You’ll also see how to control multiple cameras so the player doesn’t miss seeing a thing. Finally, learn how to reuse weapons and enemies once they’ve been expended so you can reduce the resources your game requires.
The game in this section takes place in an arena. Hurry! There’s a battle about to begin!
Section IV: Cooking Up Animations
Animation adds so much more interest and fun to games, and Unity has a wealth of tools and techniques to help you add the right effects. This section first introduces tween animations - an effective way to get objects to move from one place to another. It then goes on to cover more advanced animation principles that allow your characters to animate in different ways while in different states.
You’ll then look at using scriptable objects as data containers to make more efficient use of memory and increase your game’s responsiveness.
The action in this section takes place in the kitchen, where Chef is cooking up some interesting dishes…