Unity-Technologies/2d-techdemos
Unity-Technologies/2d-techdemos has 1,019 GitHub stars and 170 forks. Star changes are not measured yet. Last checked 2026-11-09 12:24 UTC. Last push 2026-03-13.
Tech Demos for Unity 2D Features
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original2d-techdemos
2d-techdemos is a repository containing helpful examples of 2D features with scenes and assets. It contains the asset implementations of the scripts available in its sister repository, 2d-extras.
All items in the repository are grouped by use for a feature and are listed below.
How to use this
This repository is a Unity project which you can open using Unity. To view the examples in an existing Unity project, please copy the contents in the Assets folder to the Assets folder of your existing project as well as the manifest.json file in the Packages folder.
As this repository contains the scripts from 2d-extras as a package, you do not need to include the files from the 2d-extras repository to this.
Features
Tilemap
Brick - A Breakout style game using Tilemap and Physics 2D. This example makes use of the Physics2D collision contacts to determine which cell in the Tilemap is hit when there is a collision. Open the scene Brick to get started. Run this example to start playing.
Destructible - A demo using Tilemap and Scripted Tiles showing how Tilemaps can changed in the Runtime. Open the scene Destructible to get started. Run this example by playing it and click on a location to cause an explosion and watch the after-effects.
Brushes - The Scripted Brushes can be selected from the dropdown at the bottom of the Tile Palette. Choose the Brush you want to paint with and start painting. Pull up the Brush dropdown bar to view additional parameters for the chosen Brush.
Tiles - Tile Palettes have been set up for each of the different types of Scripted Tiles. Choose the Tile Palette containing the Tile asset that you want. To find out more on how the Tile asset is set up:
- Select the Tile in the Tile Palette
- Right-click on the Tile Palette
- Click on Select Tile Asset
Palette Swap - A demo using Tilemap showing how Tiles in a Tilemap can be swapped between different Palette Prefabs. Open the scene Palette Swap to get started. Run this example by playing it and using the A and D keys to swap between palettes.
For use with Unity 2021.1.0f1 onwards. For prior Unity versions, the appropriate Unity Packages should be used for those versions.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,599 starspublic-apis/public-apis
A collective list of free APIs
497,924 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
449,790 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,297 stars