Unity Editor Scripting: Custom Inspector Tabs

preview_player
Показать описание
In this Unity Editor Scripting tutorial, we will create custom inspectors with tabs using GUILayout.Toolbar.
MORE...

SUPPORT MY WORK!
My tutorials will always be released to the public for free so anyone can learn. If you have received value and wish to support my work, there's a few options!

ASSET STORE - I publish asset at Unity Asset Store. Purchase my assets and give them a good rating :)

PATREON - Become a Patron, join us on Google Hangouts, ask me questions directly!

PAYPAL - Make a tip directly to me via Paypal. Huge thanks!

All support is very much appreciated and helps the channel grow and become better. Thank you!
Рекомендации по теме
Комментарии
Автор

Why didn't you store the tab index variable in the editor class? The functional class doesn't need to know anything about tabs or things that are inspector's business. Which tab is active is a sole property of the inspector and should stay in the in inspector. To find out who's property the tab index is, you ask yourself "if I'm thinking of changing the way the inspector is drawn and not use tabs, but something else, does the tab index variable still makes sense to be in the model class?".

AlexTuduran
Автор

Thank you! What made it stand out for me over other tutorials, is the handling of serialization, which often just isn't covered. Thanks!

michaelmenzi
Автор

One of the best custom editor tutorial on youtube, thx..

Ahmet-wtng
Автор

Very helpful tutorial man! I'm pretty much new to Unity and just have gotten comfortable with the interface and all the coding, so now I'm looking into organizing my projects so that they are easier to work on. This video helps a lot with it:)

simonspasskiy
Автор

cool tutorial . is so rare to find people that do tutorials about this stuff.

fokozuynen
Автор

Ill try and make this work whit scriptable Objects, thank you for this tutorial!

IkeVoodoo
Автор

Thank's for your tutorials. When I troubleshooting it is highly possible that your video will be as a result of searching for a solution. You saving my ass :D Thank you a lot!

QuakiTutua
Автор

it doesn't work as I expected. I write a string. I make a change to the code and the string disappears. How can i make it remember the strings even after code changes?

Imperial_Dynamics
Автор

What if you want values in the custom editor to be initialized from code? In my case, I have some float fields initialized to some values in my code, but when I look at my custom editor they are all set to 0. I have to manually click on the gear icon and press Reset to see values from the code. Is there a solution?

melchiah
Автор

that`s a good tutorial but what i want to know is how to resize the buttons in the inspector

DumbTanuki
Автор

How did u create a 'line' below the tab tho ?

benayamanuel
Автор

When I type something at the fields the inspector changes the current tab, help

onnyor
Автор

How can I replace tye text with images?

arsylgames
Автор

Hard to follow if you change the variables names on fly

WalterRDK
Автор

PLEASE RESPOND! When I put an array in a tab, it does not allow me to open the array and assign elements. I tried everything. Can someone please tell me how to fix this??

legochronicles
Автор

if i need to public scene, how can i do

redinternet
welcome to shbcf.ru