/Unity-2021-Cookbook-Fourth-Edition

Unity 2021 Cookbook - Fourth Edition, published by Packt

Primary LanguageC#MIT LicenseMIT

Unity-2021-Cookbook-Fourth-Edition

Unity-2021-Cookbook-Fourth-Edition, published by Packt

Unity 2021 Cookbook

This is the code repository for Unity-2021-Cookbook-Fourth-Edition, published by Packt.

Over 140+ recipes to take your Unity game development skills to the next level

What is this book about?

Unity is the most widely used game development platform worldwide. Available for Windows, macOS, and Linux, Unity is a powerful and easy-to-use one-stop solution for creating games for mobile, web, desktop and games consoles.

This book covers the following exciting features:

  • Discover how to add core game features to your projects with C# scripting
  • Create powerful and stylish user interfaces with Unity’s UI system, including power bars, radars, and button-driven scene changes
  • Work with essential audio features, including background music and sound effects
  • Discover Cinemachine and Timeline in Unity to intelligently control camera movements
  • Add visual effects such as smoke and explosions by creating and customizing particle systems

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter01.

The code will look like the following:


void Update() {
  float xMove = Input.GetAxis("Horizontal");
  float yMove = Input.GetAxis("Vertical");

  float xSpeed = xMove * speed;
  float ySpeed = yMove * speed;

  newVelocity = new Vector2(xSpeed, ySpeed);
}

Following is what you need for this book:

With the following software and hardware list you can run all code files present in the book (Chapter 1-15).

Software and Hardware List

Chapter Software required Operating System Graphics card - GPU
all Unity 2021.1 or later Windows 64-bit 7SP1 / 10 DX10, DX11, DX12 capable
all Unity 2021.1 or later Mac OS X 10.12.6+ Metal-capable (Intel or AMD)
all Unity 2021.1 or later Ubuntu 16.04 / 18.04 / CentOS 7 OpenGL 3.2+ or Vulkan-capable, Nvidia and AMD

Check here for latest Unity editor requirements.

Related products

Get to Know the Authors

Matt Smith is computing academic at TUDublin (Technological University of Dublin) Ireland, where he leads the DRIVE Research Group (Digital Realities, Interaction, and Virtual Environments). Matt started computer programming on a brand new ZX80 and submitted 2 games for his computing O-level exam. After nearly 10 years as a full-time student on a succession of scholarships, he gained several degrees in computing, including a Ph.D. in computational musicology. In 1985, Matt wrote the lyrics and was in the band whose music appeared on the audio cassette carrying the computer game Confuzion. Matt is a documentation author for the open-source Unity Fungus visual scripting and dialogue system.

Shaun is an academic at TU Dublin, the Technological University of Dublin, Ireland, where he is a researcher in the DRIVE Research Group (Digital Realities, Interaction, and Virtual Environments) and an associate researcher at the Educational Informatics Lab (EILab) at OntarioTechU. Since 2016, he has been primarily researching and teaching multimedia development, and prior to that was involved in the delivery of several engineering programs. He is currently exploring the opportunities transmedia provides in improving user experience and engagement in cultural archive artifacts and serious games for the built environment.