Unity UI Toolkit - Custom Control - simple PopupWindow - (2/6)

Ойындар

If you like the UI Toolkit content of this channel there is a Udemy course covering UI Toolkit in detail with 22 hours of video content. (Link below)
www.udemy.com/course/modern-u...
PLEASE CONSIDER PURCHASING THE COURSE WITH THE LINK PROVIDED IN THIS VIDEO. That way the author of the course actually receives a major part of the course fee. If you purchase without the link Udemy receives the larger Part.

Пікірлер: 7

  • @Kostarasta
    @Kostarasta25 күн бұрын

    The whole series of this tutorial is the hardest way to use UIToolkit unfortunately.

  • @johnsartain4160

    @johnsartain4160

    9 күн бұрын

    Expound on that

  • @Kostarasta

    @Kostarasta

    9 күн бұрын

    @@johnsartain4160 The entire tutorial is written using code, while UIToolkit provides the ability to build visual trees separately and then write the logic in code. It still remains a mystery to me why it was necessary to initially create a custom element for the entire window when it could have been assembled separately and used as a popup window. This would not have required writing the first two lines of code for the entire project, which can be completely unclear to beginner users. I highly recommend using the two tutorial projects from Unity on UIToolkit, and I would like to add that my goal was not to devalue the author's work, but simply to point out that those who are looking for how to create a popup window using UIToolkit can do it more easily

  • @johnsartain4160

    @johnsartain4160

    9 күн бұрын

    ​@@KostarastaNo worries, I just wanted to make sure I wasn't learning the wrong way or something haha

  • @alexsolovyov3322
    @alexsolovyov3322 Жыл бұрын

    Hey thanks for making this tutorial. Apparently, Resources.Load("") didn't work for me for some reason, but AssetDatabase.LoadAssetAtPath("") did. Not sure why though...

  • @creamos9362

    @creamos9362

    Жыл бұрын

    Maybe a bit late, but maybe this can helps you : Resources.Load requires a path relative to any of the Resouces folders in your project (in this video the stylesheet was directly at the root of a Resources folder, so he only had to give the name of the file as a path). On the other hand, AssetDatabase.LoadAssetAtPath take a path relative to the project root, so something like "Assets/Scripts/.../StyleSheet.cs".

Келесі