Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Set up a project for 2D games with the Universal 2D template

Set up a project to create a 2D game.
Read time 2 minutesLast updated 14 days ago

Create a project with the Universal 2D template. The template automatically installs the 2D feature set collection of packages, giving you a suite of tools and features specifically designed to support 2D game development.
Follow these steps:
  1. Create a new project that uses URP. Select the Universal 2D template.
  2. Install optional packages you need for your project.
The following are the packages included by default when you select the Universal 2D template.

Package

Description

2D AnimationThis package includes features and tools to rig your 2D characters and sprites for skeletal animation.
2D PSD ImporterThis package allows you to import multilayered PSD files from Adobe Photoshop. You can use this for your sprites, or to rig your characters.
2D Aseprite ImporterThis package is an asset importer that imports Aseprite's .ase and .aseprite files into Unity.
2D SpriteThis package provides the Sprite Editor to create and edit sprite assets.
2D SpriteShapeThis package allows you to create organic shapes and terrain, similar to a vector drawing tool.
2D Tilemap EditorThis package allows you to create grid-based worlds with square, hexagonal or isometric tiles. Add your tiles to the tile palette, and paint and fill tile grids using different settings and Brushes.
2D Tilemap ExtrasThis package contains extra scripts for use with the 2D Tilemap Editor package, including custom tiles and Brushes.

Optional packages

Important
The Built-In Render Pipeline is deprecated and will be made obsolete in a future release.
It remains supported, including bug fixes and maintenance, through the full Unity 6.7 LTS lifecycle.
The following are optional packages not included in 2D feature set by default, but they provide additional tools and features that support your 2D game development.
Note
If you're using the Built-In Render Pipeline, use the standalone 2D Pixel Perfect package instead.

Package

Description

2D Pixel PerfectThis package contains the Pixel Perfect Camera component, which ensures your pixel art remains crisp and clear at different resolutions, and stable in motion.
CinemachineThis package adds features and tools that provide additional functions for cameras.
Shader GraphThis package enables you to build custom shaders in a visual framework using nodes.