Build Procedural UI with Callbacks and Manipulators

preview_player
Показать описание
Learn how to use UI Toolkit like a BOSS in this step by step walkthrough of building a Drag and Drop Inventory System procedurally in Unity using UI Toolkit and some of it's more advanced features such as Activators and Manipulators.

#unity3d #gamedev #indiedev

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 Setup
05:40 Procedural UI
14:15 Styles
18:40 Drag and Drop
23:20 Manipulator

Assets Shown In This Video (Affiliate Links)

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

Hey everyone, welcome to the first of a few videos on building an Inventory System! As this topic will span several videos, feel free to bump the channel here with your comments, or join the conversation on Discord (or both)! 👍

git-amend
Автор

just got recommended your channel through a game dev discord. What an absolute gold mine. I can already tell where the next few weeks of my free time is going.

toastyshrimp
Автор

I have more than a decade of experience in game dev, but your channel can still teach me something new. Keep up the good work!

roxforgegames
Автор

This was amazing, looking forward to the rest of the videos in this series. I would also love it if you developed similar videos on topics like levelling system, character creation, enemy AI etc i.e. core gameplay elements that people can implement in their own game.

Keep up the great work, this is by far the best Unity/ Game Dev videos with code that employs best software practices and designs.

phoenixfire
Автор

Your way of explaining things is always so interesting to watch, so a tutorial on inventory is something I never knew I needed from you.

davitheking
Автор

O my... I am looking at UI Toolkit with different eyes now, man. You're awesome! Thank you!

vladtempest
Автор

I was searching for a tutorial for creating UI Toolkit via code... finally find my rescue spot :D thanks a lot. this is exactly what I needed.
I love the quality of your videos. This get's a self taught indie to really the next level of code quality and stability.
Great work :)

umoyGC
Автор

Your videos are amazing. Further along than beginner tutorials but certainly still understandable!

BashBoundGames
Автор

Great video!! Damn, I'm one of the (few) that loves the "old" UI system. This new UI tookit seems like building a style thingie for a web page (css or whatever its called). I wonder if it's worth getting used to it.

jacobs.
Автор

I studied to be a video game developer and I am currently working in a full stack company. I had no idea that both options could be combined, thanks for this incredible tutorial

gonzaloasencio
Автор

I don't know who you are or where you came from, but I love you and your videos.
Just wanted you to know that.

AnotherGameDev
Автор

Perfect timing. Coding is magic, sir!

anthonygiannotti
Автор

OMG, this video it's a blessing, exactly what I need for my game! Thank you very much Sir!

franciscooteiza
Автор

you always exeed expectations, thank you so much for all the efforts you put in these videos.

anasmostefaoui
Автор

The quality of these videos are super! Would you personally recommend using the UI Builder or going down the code route to make the UI?

AriyaBayat
Автор

Hi, awesome tutorial!! Any quick hints for doing a drag and drop into the bottom horizontal panel slots between health and mana indicators? ;)

ukaszgrabski
Автор

Hey @git-amend, thanks so much for this video. You channel truly is a gift!
I have two questions regarding UI Toolkit and Drag&Drop.
- Aren't all of these string references a problem? For instance, renaming or moving a texture around in the project window would break the UI and there's not even an error to tell that it was broken.
- Regarding Drag&Drop, I always struggle to make a clean codebase that I could (at least partially) use from project to project. I'm thinking of a bunch of interfaces and abstract classes that already have the whole "Drag & Drop" logic figured out, waiting to be implemented. Main interfaces would be : IDraggable, IDropContext, IDragContext, IHoverable ...

Thinking of it, I'm looking for the same epiphany I had when I watched your 'Better Finite State Machines' video, where all of a there was a flexible and elegant abstract solution to that problem I kept facing in each project.
Thanks in advance!

nael_nocteon
Автор

OnDrag(PointerMoveEvent evt) перестает работать, если мышка выйдет за пределы ghostCell. Это можно сделать резким рывком мышки, так, чтобы ghostCell не успела установить позицию в пределах курсора. Держу в курсе

moranyt
Автор

Hi, great video! I was wondering what software are you using to draw the diagrams seen in the Setup section?

DeepPatel-jwpd
Автор

I am pondering making a small, just for fun, mini coop game ... I like watching your videos. Unity just added some new api for networking. Might work this into this.

Tenzordk