O'Reilly logo

Unity 2D Game Development Cookbook by Claudio Scolastici

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. 2D Assets for Unity

In this chapter, we will cover the following recipes:

  • Importing textures and setting them to Inspector
  • Configuring transparency
  • Creating materials
  • Setting materials' names in Maya
  • Setting the ambient light in Unity
  • Texture atlases
  • Animated materials

Introduction

Whether your game is going to be 2D or 3D, you will deal with a number of 2D assets, mainly textures. Therefore, before building a game, I will cover this topic and explain how textures and other 2D assets are dealt within Unity.

Though we assume you are familiar with texturing-related matters and image file formats used for texturing games, we are going to describe the most relevant aspects of the operations throughout this chapter.

Some could say that textures should ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required