How to make a drag and drop game in Unity

Опубликовано: 08 Октябрь 2024
на канале: Tarodev
51,106
1.2k

I'll show you how to quickly get your drag and drop game up and running while teaching you a few key Unity concepts along the way, such as:

Drag & drop
Detecting proximity (distance between objects)
Playing sounds

=========

❤️ Become a Tarobro on Patreon:   / tarodev  

=========

🔔 SUBSCRIBE: https://bit.ly/3eqG1Z6
🗨️ DISCORD:   / discord  
✅ MORE TUTORIALS:    / tarodev  



0:00 Intro
0:11 Creating the prefabs
1:05 Drag and drop the puzzle piece
7:28 Setting up the slot
9:14 PuzzleManager (spawning pieces)
11:45 Selecting random list elements (puzzle pieces)
16:45 Dropping the pieces into the slot