Getting Started with Editor Scripting in Unity! | Tutorial

preview_player
Показать описание
In this video, we are walking you through the basics of creating Property Drawers and Editor Windows using UI Toolkit.

🌏 Check out our Docs to learn more about UI Toolkit:

🌏 Learn more about Editor Scripting using IMGUI here:

🌏 Download Unity Royale here:

Chapters:
00:00 Intro
00:40 UI Toolkit (formerly known as UI Elements)
01:28 Creating a custom Property Drawer
03:40 Creating an Editor Window with UI Toolkit
05:37 Defining Structure with a UI Document
07:45 Testing Styling with the Debugger
08:55 Defining Styles using the Unity Style Sheet
09:46 Creating a List View

Unity version used: 2020.1
Рекомендации по теме
Комментарии
Автор

Editor scripting is essential. Not only does it save you time as a developer, but it can make your tools much easier to work with to empower your designers to make what the want to, rather than fighting with your tools to make something that kinda works.

TurboMakesGames
Автор

Sadly, she spends more time talking about how "great and scalable" this system is and "what people can do with it" -- instead of actually showing **how** to _do_ anything with it....
This video spends more time *staring* at scary code and unfamiliar concepts rather than actually **explaining** the unfamiliar concepts/code to those who might want to understand it better to ease their fears for real. A calm, reassuring tone to tell the user "look at all the cool stuff I can do! -- It's going to be just fine! You can just dive right in with ZERO knowledge!" --- is not enough to ease their fears. Editor scripting is an essential skill -- but a beginner looking at all of that code with no idea WTF is going on is going to have _nightmares_ after this video. :/

awesomedata
Автор

I do find it truly wonderful that even the unity videos as showing vs code as the editor.

DrFizzyQuizzler
Автор

It seems a lot of work to do something simple. I know that now we have more control, but it should have shortcuts, do not forget the principle of fast iteration.

kinguitar
Автор

Oh man I never goof with the Editor script. So much to learn.

nichegames
Автор

This new editor workflow has sped up my editor scripting time by 30% and made the editor styles muuuch more readable and reusable! Love it 😘

astridwilde
Автор

A boilerplate creation functionality would be nice, maybe something that uses reflection to gather the information we need by default, and then being able to modify that. Maybe even with a visual editor.

DrBlort
Автор

Sadly, the Scripts are not in the Unity Royale Project to download :( So much for research

Cellfan
Автор

Excuse me, but do you know in which part of the scripts is the way to make the striped area to indicate that you can't put anything towards the opponent (0:12)?

longuemire
Автор

Where can I find out what the CardData class looks like, used in this statement "FindAllCards(out CardData[] cards);"

kennethschnetz
Автор

Good info in here once you know some basics already

CodingWithUnity
Автор

These videos are great! Fantastic explanation, editing, content, and conciseness. Glad to see more and more high quality official tutorials from Unity!

gary-huang
Автор

Where can I learn about this comprehensively? Is there a book or some resource that goes over it in more detail?

anonymoussloth
Автор

can we use intellij for editor for scripting or untity just using visual studio code for the editor

naufilmaula
Автор

Hi - is the old Ui Canvas Creation going to be replaced by this new Ui Builder Tool Kit System? I looked through it and they seem completly different - ui build seems to be the cavas system for Tooling/making editors...and the uicanvas is for scene content. Are you guys planning on removing UI canvas?

xBladex
Автор

In the custom property drawer onGui, how do we know it's actually a float? How can there be a floatValue property in the SerializedProperty class?

ZoidbergForPresident
Автор

It would be great if we could use this tool to make our WebGL page where the build will run!

TheGuayeah
Автор

As a full time web dev these features will be very easy to implement for me, but for others that aren’t used to this type of development, it could have a big learning curve.

Brandon-thpi
Автор

Maybe I skipped over it but I dont remember seeing them showing the definition of CardData.cs anywhere....

alexwenger
Автор

i'm not skilled enough to use this but NICE

omegablender
welcome to shbcf.ru