Learn UI Toolkit by creating useful Editor Window (Prefab Spawner)

Published: 06 July 2022
on channel: PitiIT
9,295
242

If you want to learn how to use the new UI Toolkit you are in the right place! This intro to UI Toolkit will show you how to create useful Editor Window. In this case Prefab Spawner. You will not need to place your prefabs manually anymore. Developing tools in Unity can as (or sometimes even more fun) than creating games + it will make further development of anything else much easier.

Our discord community:   / discord  

#UIToolkit #UnityUI #UnityTools

00:00 What problem we will be solving?
00:30 How we will solve it?
01:06 Why UI Toolkit?
01:35 UXML and Script
02:20 Overview of UI Builder
04:45 Building our window
14:30 Script
15:30 Open Window
18:35 Use our UXML in our window
20:10 Fields, Query and RegisterValueChangedCallback
25:40 duringSceneGui & handling click
30:00 Get click position
31:30 Spawning prefab
33:45 Random Rotation (and aligning to normal)
41:30 Random Scaling


Watch video Learn UI Toolkit by creating useful Editor Window (Prefab Spawner) online, duration hours minute second in high quality that is uploaded to the channel PitiIT 06 July 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 9,295 times and liked it 242 visitors.