You should make a video about why to use this rather then the old UI system. Benefits and downsides!
@sliptrixx24 жыл бұрын
This is no exaggeration. I feel like you make some of the best tutorials for unity! Great job.
@DapperDinoCodingTutorials4 жыл бұрын
Thanks for the kind words!
@rohitaug4 жыл бұрын
I'm so glad you're doing this. I think I kinda get how it works but the lack of tutorials on it has always been baffling considering this is what Unity wants you to use.
@DapperDinoCodingTutorials4 жыл бұрын
There's no rush :) This is still in preview and will be a while before it's the recommended UI system to use. But since they are heading toward this I think it's good to start to understand how to use it for when that times comes!
@mrtigeriffic29923 жыл бұрын
Thank you for this video. Starting to use UIToolkit for a project and enjoy your video the most. Easy to follow and very informative.
@wowgingermobile21233 жыл бұрын
Super helpful video! Please make more videos about this new UI Toolkit in the future, much appreciated!
@enriquemorenotent4 жыл бұрын
Thanks for adding the details about installing the packages this time :) Now there was no place for confusion ;)
@DapperDinoCodingTutorials4 жыл бұрын
No problem 👍
@enriquemorenotent4 жыл бұрын
@@DapperDinoCodingTutorials I am going to try it right away. I am a web developer, so CSS should be a breeze, but I'll let you know if there are some gotchas on the process :D
@enriquemorenotent4 жыл бұрын
@@DapperDinoCodingTutorials Weird... the installation worked, but Unity does not seem to behave the same way with me as it does with you. I have all the settings properly done (opacity, bg color, size, position...) and I saved the layout with CTRL + S, and yet the "Game" tab still does not show the UI :/ Pic: paste.pics/AFFAH Update: Here is also the generated UXML code
@RugbugRedfern4 жыл бұрын
It looks like they took a lot of inspiration from Microsoft's WPF UI interface. Very interesting! I'm excited to use this once it releases.
@subliminalcastillo21264 жыл бұрын
I was thinking the same thing!
@mrx100014 жыл бұрын
Thank you, this made a lot more sense than UI Builder one where you looked at the Unity's examples. Which just left me very confused.
@Dxpress_4 жыл бұрын
8:33 I'm hoping in the future, they add a feature to "expose" UI elements from the documents, similar to shaders, so that you can drag/drop their references in the inspector rather than having to reference them by name.
@spider8532 жыл бұрын
I don't think this will happen as the UI Document is a separated renderer, but they might do it as a text drag and drop for string names
@BrianBakerCA4 жыл бұрын
Simple, but it tells us everything we need to get going on our own. Thanks a lot!
@DapperDinoCodingTutorials4 жыл бұрын
Glad to hear that you enjoyed it. There will be more for specific use cases
@Othello3793 жыл бұрын
Thank you for these high quality helpful videos! Really appreciate it! :)
@wendten24 жыл бұрын
Finally .This is literally the first such tutorials on the topic, there are so many unity youtubers out there talking about the same topic using the same examples. Also I really like you style and the level you teach at. I must however admit that its a bit against pride as a master engineer to take tips from a school kid, but I guess that's how the world work anno 2020
@DapperDinoCodingTutorials4 жыл бұрын
Glad I could help and don't worry, keep your pride :D
@lazykid91673 жыл бұрын
A "Master" Engineer. whhoooow, whatever that is
@user-dm5qi4nb6l4 жыл бұрын
This tutorial was really well explained, I'm a beginner and I'm trying to learn these new unity updates, I'm working on the new Input system too pls do more videos about these subjects.
@albarnie11684 жыл бұрын
Really great and concise intro to the ui toolkit. Keep it up!
@crazyfox554 жыл бұрын
This is really well made tutorial. Just an idea but unit tests would be great with this new UI, and might make for a good tutorial as well.
@DapperDinoCodingTutorials4 жыл бұрын
Thanks, I'll keep it in mind and perhaps I'll have a look on the forums to see if anyone is discussing unit tests.
@sullainvictus4 жыл бұрын
Love your videos man. Question: Does this new system have any functionality for animating UI elements?
@Rj-nw4vc4 жыл бұрын
Excellent preview. Thank you, this video saves 30min of my time
@pulkitmidha57104 жыл бұрын
This was much needed. Thank you
@goldone014 жыл бұрын
Thanks for the video - great to see some info on this. The documentation is hard to understand at the moment. In your view, what are the key things that are still missing vs. the old UI system? Thinking about whether it's worth switching now or a bit later when things have "settled down".
@DapperDinoCodingTutorials4 жыл бұрын
I think you should wait before using it in a "serious" project but by all means go ahead and get some experience with it now so that when it's more stable and is production ready you already know how to use it. The main problems I see right now is that the UI Builder window is a bit buggy sometimes but I'm sure that will get sorted soon enough.
@youtubechannel5483 жыл бұрын
This makes me so happy... Making UI is going to be so much more efficient now. I bet some features are still missing as this is still in beta? However, the future is looking pretty bright! Hopefully, the performance is also going to be much better. As the current UI system is kind of struggling ngl
@seersdduR2 жыл бұрын
Definitely , It seems be better than old(?) ui system.
@marty345344 жыл бұрын
Brilliant tutorial! Thank-you very much!
@hmada20134 жыл бұрын
They made the UI similar to XML which i guess is a good step to make the UI consistent over all platforms.
@manyfailsonewin43522 жыл бұрын
Excellent. Thank you!
@kabirakzaman4 жыл бұрын
I'm sure WPF App builders will love it
@newpractice3 жыл бұрын
beautiful tutorial, I kind of understand what is going on in the code. how do I take this an extra level by making the 3d world interact with the UI - like how do I make the label change when the construction hat is clicked, rather than when the UI button is clicked?
@experiFilm3 жыл бұрын
I've been looking for this as well.
@hetthummar95823 жыл бұрын
Awesome video as always .. I think that the new UI Toolkit is better than the old system but I have one question. .. is it possible to display the user name above the player with the new UI Toolkit. (Like We show name on the multiplayer games) I already tried to implement this by my self but it's not working (It is showing name but it is on the screen instead of above user)
@gilleswalther59644 жыл бұрын
Really good video, thanks!
@eatpotaro43024 жыл бұрын
These are great videos
@DapperDinoCodingTutorials4 жыл бұрын
Thanks :)
@martymayfly86693 жыл бұрын
Thank you for this tutorial, I switch to UiElements with your help, but i am stuck on a problem. My game mechanic is effected by ui touch in level screen, how can I prevent this situation while using UiDocument? Do you have any idea or advice?
@cfloutier Жыл бұрын
very useful ! thanks
@bhanukadasanayaka34572 жыл бұрын
can you make more tutorials on this. like progress bar
@fumetsuhito55614 жыл бұрын
Simple and straight forward video. Question, if a stable version is out, will you be using it over the current UI version?
@broganking98304 жыл бұрын
Is Dapper Dino gonna be the next Brackeys? Place your bets.
@DapperDinoCodingTutorials4 жыл бұрын
Brackeys will live on in spirit but I hope I can help those who are now looking for new tutorials!
@perparmiha4 жыл бұрын
Just needs catchier thumbnails so people will find him
@theFishy_2 жыл бұрын
Code monkey is the next brackeys already
@jverhoog85563 жыл бұрын
Hmm I see some benefits over the UI system, but also drawbacks. Especially for AR development since the UI is now created out of context of the scene. Is World Space Canvas still supported?
@shami93532 жыл бұрын
Can't add the script to the UIDocument? It says it has to be derived from MonoBehaviour which it does. I've seen some solution to remove everything from the Editor folder. But have not worked for me. Edit: My mistake I kept trying to attach the Editor instead of the script itself. Such a simple mistake.
@andersencastaneda60804 жыл бұрын
Great Tutorial. Is this new system better than the old one (performance)?
@DapperDinoCodingTutorials4 жыл бұрын
I think it either is, or it will be. Still has a bit to go before it's production ready.
@sharavanakumar2000 Жыл бұрын
In the video time 11:50 as I can see the opacity is 100 but the visual element background color is not black however in vedio time 11:52 when you change the opacity to 100 how the color changed to black please help I do have the same issue
@vizualwanderer4 жыл бұрын
what about the vertical/horizontal gridding thing? how much did they change that, if they did... that part was the only thing that was uncomfortable about the old UI, but really good non the less.
@RonenGoldstein4 жыл бұрын
Thanks for the great video! Quick question - do we need an OnDisable function to unload the callbacks? It's hard to find any information on whether or not this is relevant. I'm getting a lot of issues after doing this with the UnityEditor.SettingsWindow:OnEnable() - any ideas? I appreciate it!
@TheOddler4 жыл бұрын
Note: As of writing the latest version of the ui toolkit (1.0.0-preview.14) does support 2021.1: forum.unity.com/threads/ui-toolkit-latest-version-1-0-0-preview-14.941420/#post-6819866
@awake12933 жыл бұрын
Thanks for making this tutorial! I still haven't found a decent way of binding data to n number of UI elements efficiently. Having to store a reference to each button in something like a Football Manager game is just painful. uGUI used to be easier with Prefabs and SciptableObject events - but I can't see a way of doing this with the new UI toolkit. Do you have tips?
@mirasonicrex2 жыл бұрын
I couldn't get this to work until I changed OnEnable to Start. This is my first time using Unity UI, so not exactly sure why.
@kambaalayashwanth1233 жыл бұрын
Thank you, but can you show how can we make any movements for the element like , bouncing , slide in out over other elements .
@awesomedata89734 жыл бұрын
This is a great tutorial -- but I was actually hoping this was an EditorWindow tutorial, rather than a runtime tutorial. Do you have a video showing how to do EditorWindows? -- I'd like to see rearrangeable Drag/Drop elements in an EditorWindow showcased. :)
@ProkerKusaka4 жыл бұрын
I don't understand how to change toggle checkbox size. Only root component is changeable but his child elements are grayed out.
@froggo43634 жыл бұрын
nice tutorial
@DapperDinoCodingTutorials4 жыл бұрын
Glad you liked it!
@TheWolverine19843 жыл бұрын
Is there a way to bind the data to the UI? As in, bind the number it displays to the int in the code? So every time the data changes the UI updates to reflect it? As far as I recall they said there will be data binding features.
@anonymoussloth66874 жыл бұрын
Great Video! I had a question: Can we use custom sprites for buttons, borders, backgrounds, etc in this toolkit? Also, does this UI toolkit support the different canvas rendering methods in the normal UI (ex: screen overlay, world space, etc)?
@Sykes193 жыл бұрын
It's only been a few months, but the "UI Builder" isn't listed in the registry anymore. What am I doing wrong here? Did I miss something?
@tacman11234 жыл бұрын
Thanks -- great tutorial. I'm following along exactly (I think) but I'm not seeing the UI display in the game view or editor view. I'm using the latest version of 2020.1.11f1. I've tried with both the regular 3D and URP, but no difference. Any suggestions? Or could you post the final version of this in a github repo somewhere, so we can compare? Thx.
@waytoomuchtimeonmyhands4 жыл бұрын
add com.unity.ui.builder in the package manager
@Salmonman06044 жыл бұрын
I just dont understand why I would use this over the current UI system. What problems does this feature solve?
@DapperDinoCodingTutorials4 жыл бұрын
I could try giving an explanation here myself but I think they explain it better here on the forums: forum.unity.com/threads/ui-roadmap-q3-2020.980202/
@gabrielwhite98814 жыл бұрын
I think the problem this solves is that some people can work better with something that is more like CSS. :)
@Redagrandrei4 жыл бұрын
@@gabrielwhite9881 Nop. Current unity UI is just not extensible at all.
@gabrielwhite98814 жыл бұрын
@@Redagrandrei And why is this not more css like? :)
@MoTheBlackCat4 жыл бұрын
Thank you! I've been searching everywhere just for this CRUCIAL step: "Create a UIDocument object (you must install the UI Toolkit Package EVEN on 2021.1+ and link it to your uxml to DISPLAY your UI". Soooo tedious!
@anthonygirdler6063 жыл бұрын
I think I'm stuck at the same section. I can't install UI Toolkit. I can't creat a UIDocument object. Using 2021.1.3f1
@MoTheBlackCat3 жыл бұрын
@@anthonygirdler606 I'll try to check the process and come back to you with a step by step.
@JONIMASAKIS4 жыл бұрын
I like how Unity gets things more complicated instead of easier with each new thing
@BrianBakerCA4 жыл бұрын
Many front end web developers will be able to get into this easily as this is a similar workflow for css/js. It’s only complicated because the old system wasn’t good lol and because it’s unfamiliar. Don’t worry, this is definitely better
@DapperDinoCodingTutorials4 жыл бұрын
Have a read of the forums where they explain what they are doing and to some extent why: forum.unity.com/threads/ui-roadmap-q3-2020.980202/
@AugGust4 жыл бұрын
And I'm just almost done with my current UI using the old UI system... RIP
@Katniss2184 жыл бұрын
Don't worry, I can bet you'll still have a few years before this new UI is fully out.
@DapperDinoCodingTutorials4 жыл бұрын
The old system isn't going away any time soon. This is still in preview and will be a while before it's the recommended UI system to use. But since they are heading toward this I think it's good to start to understand how to use it for when that times comes!
@MxmOzn3 жыл бұрын
Hello ! Thanks for your video, it helps a lot ! I'm actually looking for displaying a 3d asset into my UI using the UI Builder and UI Toolkit from Unity. Is it even possible ?
@signalised95404 жыл бұрын
Good vid
@DapperDinoCodingTutorials4 жыл бұрын
Thanks!
@MrHandsy4 жыл бұрын
What about adding and removing items from a list?
@tryptex4 жыл бұрын
Will this be replacing TMP at some point?
@Tymon00002 жыл бұрын
How to do this without the magic strings?
@sathiyanarayanan33733 жыл бұрын
hey guys, I'm new to unity ui and i just installed latest UI builder for 2019.4 version but it shows like nearly 300 errors in the cmd window...Any solution..?
@richmattisson30114 жыл бұрын
Seems so complicated. What's the benefit of using this new UI system? What's wrong with the old 1?
@DailyFootballEditsDFE4 жыл бұрын
why your not making your own game and story i'll wait for it i hope you do that like dani he haw karlson
@DapperDinoCodingTutorials4 жыл бұрын
I'm very busy with a lot of things but I do plan on making my own full game/s someday. For now I try and enter game jams when I get the chance.
@DailyFootballEditsDFE4 жыл бұрын
@@DapperDinoCodingTutorials waiting for it 😍
@mrcryptographic48034 жыл бұрын
can you make a tutorial about Integrate steam workshop in a unity game?
@DapperDinoCodingTutorials4 жыл бұрын
There are a lot of things people want me to show how to integrate so I won't make any promises but it's definitely something I would be up for covering at some point.
@mrcryptographic48034 жыл бұрын
@@DapperDinoCodingTutorials ok
@tr2334 жыл бұрын
good tutorial for starters, but people should think further, separation of concerns dont mix classes responsibilities. Meh another Unity push to new version ;)
@atur944 жыл бұрын
Those packages still have a lot of bugs. Just huge amount of them. You cannot just select object from the list once you deselected it. It's get laggy with time passing. You need to restart UI builder window often. It is so annoying. It looks promising but it is still early alpha and you cant build UI with it efficiently
@ZoidbergForPresident4 жыл бұрын
Why doesn't Unity provide stuff like this?
@brainwashing55763 жыл бұрын
Спасибо. Было полезно
@cashewmaurice57714 жыл бұрын
Hey, loving the videos so far, could you please do a video on how to implement client-side prediction / server authoritative movement in Mirror?
@MikevomMars3 жыл бұрын
You could have first explained what basic components the UI system consists of (Panel Settings, Tree Asset, Styelsheet, UI Document etc) and how they are related to each other. But as it is, it's all rather confusing.
@kwan82474 жыл бұрын
The russian supporter: Dino: I don't even know who you are
@DapperDinoCodingTutorials4 жыл бұрын
I've reached out to them to ask about the pronunciation :)
@fidel_soto4 жыл бұрын
Wait a minute... What was wrong with the old UI???
@fidel_soto4 жыл бұрын
@@bezoro-personal major pain points? To me it seemed like the best feature Unity had and hands down the best way to build UI of any software ever.
@jeronimocollares3203 жыл бұрын
I just think you should change the name of your tutorials to 'I'm running because I don't want anyone to understand anything'. :)
@tr2334 жыл бұрын
man why its only works in 2020 ;(
@Wuddigot4 жыл бұрын
Second.
@DapperDinoCodingTutorials4 жыл бұрын
Silver medal for you
@Wuddigot4 жыл бұрын
@@DapperDinoCodingTutorials Yesssssssssssssssss
@Inf4mousKidGames3 жыл бұрын
warning to those who are using this tool at the time of this comments creation dont install UI builder current version is broken as hell tried it in the LTS version of 2020 and oh god it's not worth the headache
@VIN_Wolframwow3 жыл бұрын
Thanks a lot! Was trying to figure it out as well how it works, but not even the context menus appear to build the document. I can create it in a folder but I can not even use it in a new object.
@gregoryfenn14624 жыл бұрын
Personally I’m finding all these new features way too fast and too much. I’m getting used to the new render pipeline and the new input systems, but I’d rather they focused on making the existing tools either more versatile or more efficient without overhauling the existing APIs. We also have the new shader graph and VFX graph to get to grips with. People learning unity as newbies are going to be bambozzled by the number of differences between all the Brackeys and Udemy tutorials vs the new ways of game development in unity as it’s all different. Pretty much every way we learned to use Unity needs to be relearned and all the great tutorials overhauled and deleted... I just wish they’d focus on making the existing APIs more stable and idiot-proof for rookie and newbie developers, and allow more advanced users to build their own systems on top using a small but very solid set of APIs. We still have DOTS (formally known and ECS and Burst) to get used to! Great tutorials though!!
@DapperDinoCodingTutorials4 жыл бұрын
I agree that all these new features are coming very quickly but I guess that's what's needed with the rate that technology is advancing and the increasing demands in performance and visuals. I think the problem isn't the speed, it's that beginners need to know what tool they should use for what job and whether to start learning the current systems or to start on the new systems.
@cok3n4 жыл бұрын
kids at school one , two , three and kids at youtube first, second , third......
@DapperDinoCodingTutorials4 жыл бұрын
Huh? :D
@younghsiang25094 жыл бұрын
You should do that in Awake instead of OnEnable XD
@seraphimsarecoool3 жыл бұрын
lol, this looks very similar to unreal's UI editor coincidence?
@cyqry4 жыл бұрын
Bronze Medal?
@DapperDinoCodingTutorials4 жыл бұрын
Sure thing! 🥉
@dedovagency4 жыл бұрын
lol windows forms for unity
@DapperDinoCodingTutorials4 жыл бұрын
It is nice to now have a dedicated UI builder
@nati77284 жыл бұрын
They should change the "Q" for query api to avoid associations with weirdo american politics