How to drag Multiple Items into the Inspector (Unity Quick Tip)

preview_player
Показать описание
✅ Dragging items one by one to fill up an array? Learn how to lock the inspector in order to fill up the whole array at once.

If you have any questions post them in the comments and I'll do my best to answer them.

See you next time!

#unitytutorial #unity3d #unity2d

--------------------------------------------------------------------

Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.

I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.

--------------------------------------------------------------------

Рекомендации по теме
Комментарии
Автор

🌐 Have you found the videos Helpful and Valuable?

CodeMonkeyUnity
Автор

Thank you so much! I work with Unity for 5 years and didn't find this out until now. Mind blowing ;D

Gartenschere
Автор

For a second tip and trick to key off of this that I occasionally use, if for some reason you need to drag something from one inspector to another, you can open up a second inspector window, drag it so that both are visible (I prefer them on top of each other, but you could do it however you want), lock one on the inspector you want to drag to, then click the other object and start dragging across. Of course most of the time you don't need to do this because if you say drag a gameobject to a field that wants a Transform, it'll automatically instead put the Transform of that object in the slot instead. Still there are times this might not work how you want, and this would let you be more specific. Also having multiple inspectors with one locked would allow you to say monitor the values of one object while the game is running, while clicking around and doing other stuff.

blackstream
Автор

These tutorials should appear when you download Unity, i literally spent half hour moving a lot of items through one by one 😭😭

EdzChez
Автор

Got what i needed in first 5 sec of this clip.

milev
Автор

WOW Thanks a lot. Exactly what I was looking for. :D

nathan
Автор

year is 2021 and I saw this right now :) Thanks

alperaydin
Автор

i'm having a problem here: whenever i drag the objects over to the list, it just gives me the circle with a line through it and doesnt populate the list at all. The only way i'd be able to do it is to drag them all individually and there's 120+

NdieCity
Автор

Is there a way to do the same trick if i have cutom struct which include Sprite field?

tonymax
Автор

What do you do if you want to drag an object into the inspector of an object in a different scene?

jhmu
Автор

the script is not drop in inspector bar there is not showing any error or pop-up box but script is not dropped how to fix it?

gaminghub
Автор

buut... how do you drag all gold nodes in the first place

arokumi