Hands-On Unity 2020 Game Development: Build, customize, and optimize professional games using Unity 2020 and C#
Build immersive game experiences using the new Unity 2020 features with this practical guide
Key Features
- Unleash the capabilities of C# scripting for creating immersive UI, graphics, Game AI agents and much more
- Explore Unity's latest tools, including Universal Render Pipeline, Shader Graph, and VFX graph, to enhance graphics and animation
- Get started with building augmented reality experience using Unity's AR Foundation
Book Description
Over the years, the Unity game engine has extended its scope from just being about creating video games to building AR/VR experiences, complex simulations, real-time realistic rendering, films, and serious games for training and education. Its features for implementing gameplay, graphics, and customization using C# programming make Unity a comprehensive platform for developing professional-level, rich experiences.
With this book, you'll be able to build impressive Unity projects in a step-by-step manner and apply your knowledge of Unity concepts to create a real-world game. Complete with hands-on tutorials and projects, this easy-to-follow guide will show you how to develop your first complete game using a variety of Unity tools. As you make progress, you'll learn how to make the most of the Unity Editor and create scripts using the C# programming language. This Unity game development book will then take you through integrating graphics, sound, and animations and manipulating physics to create impressive mechanics for your games. You'll also learn how to code a simple AI agent to challenge the user and use profiling tools to ensure that the code runs in a performant way. Finally, you'll get to grips with Unity's AR Foundation for creating AR experiences for 3D apps and games.
By the end of this book, you'll have developed a complete game and will have built a solid foundation using Unity's tooling ecosystem to develop game projects of any scale.
What you will learn
- Write scripts for customizing various aspects of a game, such as physics, gameplay, and UI
- Program rich shaders and effects using Unity's new Shader Graph and Universal Render Pipeline
- Implement postprocessing to increase graphics quality with full-screen effects
- Create rich particle systems for your Unity games from scratch using VFX Graph and Shuriken
- Add animations to your game using the Animator, Cinemachine, and Timeline
- Implement game artificial intelligence (AI) to control character behavior
- Detect and fix optimization issues using profilers and batching
Who this book is for
This book is for game developers looking to migrate to the Unity game engine. If you are a developer with some exposure to Unity, this book will help you explore its latest features. Prior experience with C# programming is required to get the most out of the book.
Table of Contents
- Designing a Game from Scratch
- Setting Up Unity
- Working with Scenes and GameObjects
- Grayboxing with Terrain and ProBuilder
- Importing and Integrating Assets
- Materials and Effects with URP and Shader Graph
- Visual Effects with Particle Systems and VFX Graph
- Lighting Using the Universal Render Pipeline
- Fullscreen Effects with postprocessing
- Sound and Music Integration
- User Interface Design
- Creating Animations with Animator, Cinemachine, and Timeline
- Introduction to Unity Scripting with C#
- Implementing Movement and Spawning
- Physics Collisions and Health System
- Win and Lose Conditions
- Scripting the UI, Sounds, and Graphics
- Implementing Game AI for Building Enemies
(N.B. Please use the Look Inside option to see further chapters)