Tag
Unity 2D
Articles connected to unity 2d.
Editorial
Unity 2D articles
Game Development
How to Change a Sprite in Unity 2D with a UI Button
A Unity button can swap the sprite displayed by a 2D object without replacing the GameObject. This tutorial shows how to assign two sprites, connect On Click(), and avoid two mistakes in the switching script.
Game Development
How to Make a Trampoline in Unity 2D Using Collision and Impulse
Create a working trampoline in Unity 2D using C#, collision detection, and Rigidbody2D. Learn how to apply an upward impulse, configure the components, and fix common mistakes.