How to select 2D objects using mouse in Unity?
In Unity to select 2D objects using mouse use 𝗣𝗵𝘆𝘀𝗶𝗰𝘀𝟮𝗗.𝗢𝘃𝗲𝗿𝗹𝗮𝗽𝗕𝗼𝘅()
How to take a screenshot in Unity?
How to take a screenshot in Unity? Unity provide us with a method called ScreenCapture.CaptureScreenshot that can save what the camera sees to PNG
How to play a different step sound based on the terrain type in a 2D top down game?
How do we played a different step sound depending on the terrain in a 2d top down game? While it requires a bit of a setup we it is pretty easy. Let me show you how.
How to remove tears appearing between tiles
When using unity tilemaps we can sometimes see tears (vertical/horizontal lines) appearing between the tiles. There is an easy fix!
How to auto adjust the collider to the sprites size.
Learn how to adjust your colliders size to the size of the sprite in your 2D unity games.
How to sort sprites by Y axis in Unity 2D
Learn how to sort sprites dynamically in Unity 2D according to their Y position.
Blend trees for 2D Games in Unity
Learn how to use Blend Trees and how to substitute Transitions with calling animations from your script in unity 2D projects.