How to make a CUSTOM INSPECTOR in Unity

preview_player
Показать описание
In this video we create a custom inspector in Unity.

····················································································

········································­­·······································­·­····

Edited by the lovely Sofibab.

········································­­·······································­·­····

► All content by Brackeys is 100% free. I believe that education should be available for everyone. Any support is truly appreciated so I can keep on making the content free of charge.

········································­­·······································­·­····
♪ Baby Plays Electro Games
Рекомендации по теме
Комментарии
Автор

10:38 But that would hide every public variable.
Declare the variable baseSize in the Sphere class like this
[HideInInspector] public float baseSize = 1f;
Then, just baseSize will disappear and if you add other public variables they will still be visible.

juschu
Автор

Honestly, this channel will still make an impact in the Unity community for a lot of years! Thanks Brackeys!

legendguitargamer
Автор

God its such a good feeling when your looking something up and you see Brackeys did a video on it.

dr.mailman
Автор

When you have been learning Unity since fall 2013 using the internet and you are learning more from brackeys in just couple of videos since you started... I didn't have an idea that you could change the editor that's just amazing lol

johannb.rastarson
Автор

thanks brackeys please keep uploading beginner friendly videos, the problem with most intructors is that they dont explain why a certain line of code was written and say "just write it like this and then do that", bit you explain everything which is awesome specially for a beginner like me

Slayer
Автор

In 2022 Brackeys still teaches me great things... :(
(I miss you man...)

IlPandax
Автор

Thank you for slowing down the pace of your tutorials!

dbbgba
Автор

I would love to see a deeper tutorial on custom editors.

For example an editor to display an array of Animals where each instance of animal can be a cat, dog, bird...

Each animal's inspector may be customizable with its own custom variables.

TruciT
Автор

Made myself a nice little Delete PlayerPrefs button; awesome for testing! Thanks Brackeys!!

SeanLange
Автор

brackeys to the rescue one more time, this channel is a game dev church

patrevizani
Автор

I like how your tutorial are always short and informative. Would hope to see a tutorial for creating user interface of different resolution and platform.

joelqrq
Автор

Thank you. You are a great instructor. Easy to understand.

nathtale
Автор

I enjoy watching your tutorials. Officiant and clear. Keep up the good work.

Arminroshan
Автор

Unity sure has come along way from it's older versions, to it's newer versions!

resonatebob
Автор

Thank you so much, this is basically teaching the start of making a SetDriven Key in maya.

alonsorobots
Автор

Thanks for your videoes I now have two game ideas.. can't wait to start developing my first one soon.. Thanks again @Brackeys

POD-Mahmoud
Автор

this was very helpful, thank you for all the tutorials

compact
Автор

Awesome! This will come in handy later in my game for sure! I dis not think that custom editors are that easy to make!

anonanon
Автор

This is great!! I wanted to add an inspector code to define transform coordinates in a different basis than the standard { (1, 0, 0) (0, 1, 0) (0, 0, 1) } and hopefully this info in this will be enough to guide me. I will just make three float boxes for my new {u, v, w} basis and encode the transform interns of this.

gregoryfenn
Автор

You do a GREAT service mate thank you !!

TheARTofMining