Руководство по системе Drag & Drop в Unity [Mobile & Desktop]

Описание к видео Руководство по системе Drag & Drop в Unity [Mobile & Desktop]

In today's video, we're going to set up a simple Drag & Drop system, that works on both Mobile (Android and iOS) and Desktop and allows you to have multiple draggable items on the screen.

This tutorial will cover the first part and we'll be able to drag and drop an item wherever we like. I'm already working on the second part where we're gonna add much more control after a drop:
1) Snapping inside another item if the drop is valid
2) Going to the starting position if the drop is not valid
3) Avoiding overlapping items by repositioning in the closest valid position

Feel free to subscribe if you're interested in the second part!

_______________________________
You can also follow me on the other platforms:
Twitter:   / balastrong  
TikTok:   / balastrong  
Instagram:   / devbalastrong  
dev.to: https://dev.to/balastrong
GitHub: https://github.com/Balastrong
_______________________________

TIMESTAMPS
0:00 - Introduction
0:48 - Draggable setup
1:19 - Drag Controller: Variables
2:00 - Drag Controller: Structure implementation
4:38 - Drag Controller: Core methods
5:45 - Final demo

Комментарии

Информация по комментариям в разработке