No video

Unity Drag and Drop 2D - Easy Tutorial

  Рет қаралды 22,005

Solo Game Dev

Solo Game Dev

Күн бұрын

Пікірлер: 24
@kozavr
@kozavr Жыл бұрын
You should have mentioned that those are Canvases, not just images. Probably that was the problem of the guy in the comments below.
@nathanaelbryan3124
@nathanaelbryan3124 11 сағат бұрын
Does this work with touch if doing mobile?
@MajinBuu45
@MajinBuu45 Жыл бұрын
Thanks for this video
@gamoe
@gamoe Жыл бұрын
thanks you
@MRX-eb3gz
@MRX-eb3gz 6 ай бұрын
if this code not working for you, make sure to add the script to the image objects you want to drag.
@moinmeister2692
@moinmeister2692 Жыл бұрын
Hey, I wanted to know what extensions you use on visual studio code for c# that you get suggestions, what library you have to import.
@Luluskuy
@Luluskuy Жыл бұрын
Hi, i don't know if this helps, but I get suggestions when I use visual studio 2017. But I don't get suggestion when use 2019 version. So.. maybe try to use visual studio 2017?
@moinmeister2692
@moinmeister2692 Жыл бұрын
@@Luluskuy Thank you
@Duros360
@Duros360 9 ай бұрын
for some reason, whenever I try to use codes for drag and drop they *never* seem to work right. When I use the UI and EventSystems using IDragHandler (etc) the code doesn't do anything, the object doesn't do anything, and I copied this code word for word :S 3rd video today that doesn't seem to work, so it must be me, or a setting i have or something :S
@madisonheynen350
@madisonheynen350 7 ай бұрын
Did you ever solve this problem? I'm going through the same thing right now. No tutorial is working for me, it just doesn't work
@Duros360
@Duros360 7 ай бұрын
@@madisonheynen350 nope :(
@matthewrevell2706
@matthewrevell2706 7 ай бұрын
There is not solution on the internet currently for this. Please let us know if you find one.
@user-uh5rj8gr2e
@user-uh5rj8gr2e 5 ай бұрын
If the Image is a child element of the Canvas itself, then everything works, but if it is a child, for example, of some panel inside the Canvas, then it simply is not read.
@user-uh5rj8gr2e
@user-uh5rj8gr2e 5 ай бұрын
@@madisonheynen350 If the Image is a child element of the Canvas itself, then everything works, but if it is a child, for example, of some panel inside the Canvas, then it simply is not read.
@lpasgsni522
@lpasgsni522 Жыл бұрын
Sorry, man, it does nor work
@SoloGameDev
@SoloGameDev Жыл бұрын
Why? What is the problem?
@lpasgsni522
@lpasgsni522 Жыл бұрын
@@SoloGameDev Dear author! Thank you for responding to my comment. I did not manage to repeat step by step what you outlined in your instructional video. It seems to me that the reason is that your "items" have some properties that I do not see and therefore cannot repeat. I tried instead of "items" to use simple sprites - a triangle and a square, but drag-and-drop and recoloring objects do not work with them. Best regards!
@user-uh5rj8gr2e
@user-uh5rj8gr2e 5 ай бұрын
If the Image is a child element of the Canvas itself, then everything works, but if it is a child, for example, of some panel inside the Canvas, then it simply is not read.
@user-uh5rj8gr2e
@user-uh5rj8gr2e 5 ай бұрын
It is also worth playing with the order of the elements on the Canvas, because the lower the element, the “higher” it is located (closer to the camera). So something may be blocking the reading.
@gwendolinwild4992
@gwendolinwild4992 Жыл бұрын
𝓅𝓇𝑜𝓂𝑜𝓈𝓂
@SoloGameDev
@SoloGameDev Жыл бұрын
Unity Drag and Drop 3D - Easy Tutorial (2023)
1:58
Solo Game Dev
Рет қаралды 31 М.
Drag and drop in Unity UI - create your own inventory UI!
12:47
Coco Code
Рет қаралды 104 М.
When you discover a family secret
00:59
im_siowei
Рет қаралды 15 МЛН
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 27 МЛН
Magic? 😨
00:14
Andrey Grechka
Рет қаралды 20 МЛН
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 16 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4 МЛН
I Paid Fiverr Game Developers to Make the Same Game
10:25
BadGameDev
Рет қаралды 676 М.
Как реализовать Drag and Drop в Unity UI?
16:32
Лавка Разработчика
Рет қаралды 16 М.
We made Vampire Survivors BUT in 10 Lines of Code
7:08
PlayWithFurcifer
Рет қаралды 1 МЛН
How to make a drag and drop game in Unity
19:29
Tarodev
Рет қаралды 50 М.
Unity Inventory System - Easy Tutorial
16:35
Solo Game Dev
Рет қаралды 192 М.
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 525 М.
Simple Drag Drop (Unity Tutorial for Beginners)
10:31
Code Monkey
Рет қаралды 323 М.
When you discover a family secret
00:59
im_siowei
Рет қаралды 15 МЛН