Making Your Own Unity Tools - Introduction to Custom Editor Windows - Unity Tutorial

preview_player
Показать описание
🎮 Let me know what other Unity tutorials you want to see 🎮
👇 See below for time stamps 👇

0:00 - Introduction
2:00 - Project overview and tool demonstration
6:42 - Important note about the 'Editor' folder
7:40 - Overview of the C# script
8:38 - Opening the custom editor window
9:25 - Adding the editor window to the menu bar in Unity
10:13 - GUI Layout Label
10:40 - Editor GUI Layout Text Field
11:12 - Editor GUI Layout Int Field
11:28 - Editor GUI Layout Slider
12:01 - Editor GUI Layout Float Field
12:12 - Editor GUI Layout Object Field
13:04 - GUI Layout Button
13:27 - Spawning the Object
13:44 - Wrap up and final demonstration

Resources:

Please 'Like' this video and share it with anyone who is interested in video game development.

Subscribe to the channel for much more independent video game developer related content including tutorials, design breakdowns, industry events, VLOGs, and much more fun stuff!

Links:
Blog:

My Game Development Studio's Website:

My GitHub:

My Setup:

As an Amazon Associate I earn from qualifying purchases.

#CustomEditorWindow #UnityTutorials #GameToolsProgramming
Рекомендации по теме
Комментарии
Автор

This is one of the best tutorials I've seen on anything Unity, let alone something as daunting as custom editors. Great delivery style and really well put together example. Thank you!

masripaul
Автор

Absolutely fantastic tutorial, simple, focused and incredibly useful! Thanks!

(4 years ago, where was I? Not where I should have been!)

timithius
Автор

So much clearer than the official unity tutorial.

JPlokford
Автор

This is a great example for creating editor tools, many thanks! Just what I needed!

StarGazerTom
Автор

this video is a great service for the community

josepaulofernandes
Автор

Your solution works better and with less bugs than, PolyBrush or terrain(paint details), thx for the introduction to unity editors

floriankomposch
Автор

Thank you! Perfect tutorial and example for a intro on editor scripting. Loved the object spawner example because it's a good start for what I'm trying to do already. :D

Caden_Burleson
Автор

Thanks for the tutorial, I'm gonna make a tool for everything.

arcader
Автор

Great Tutorial. I took it one step further and added "Terrain.activeTerrain.SampleHeight", so the objects are at the correct terrain height.

intimidate
Автор

Thank you! I tried myself and I made an automatic hierarchy organizer this is useful

neverstepd
Автор

Very clear and useful tutorial. Thanks for the good work!

LyonLoi
Автор

i would love a complete tutorial series about custom tool creation for a bunch of different situations!

chrisxxx
Автор

Awesome Tutorial! First time doing editor scripting and it was easy to follow. One note though, isn't this the older IMGUI system? It would be great if you could make a tutorial on the UI Toolkit which is new and much easier to use. Thanks!

raymondlin
Автор

Is there a way to make it spawn with a ray cast? For example, you can turn spawning on or off with a bool, and wherever you click, it casts a ray and spawns the object there?

haachamachama
Автор

I have an object generator script that I have to play to produce GOs. I made it this to test it out. Now that it works I need to convert it to the editor window because I want the GOs and not in play.
The methods that I have I want to keep as a playable script and use in and editor extension. This looks like a special kind of maintenance to configure. I have Update() and Start() utilized. The classname : Editor and classname : Monobehaviour will cause a differentiation build. I believe I need a script reference in the Editor class to access the MonoBehaviour methods. Not sure how to write the reference line.
I hope I am clear here. Thanks for this video!

phyzxengrmoore
Автор

hey I am working on something similiar to this is there any way to select a specific position in the scene before spawning stuff?

XPaveway
Автор

Is it possible to include the editor window in the build ? LIke what if I want to handle the spawning in the runtime using the editor window ?

subhroneelbhattacharya
Автор

Man, i open a new scene and i dont have setting to create game, plz help me

andy__
Автор

Hi guys, i am interested in finding projects to work on, games, little games, for collaboration with other people that want to create games, on the side from work. Does anyone have any idea where to find something like that?

IdontWatchIsee
Автор

Hey this is great! I'm really struggling with the advanced features of Editor Windows, would love some help, or a tutorial that goes a bit beyond this. Specifically I want to change characteristics of a GUILayout element after I create it. How can I update the colour of a label or button after I have clicked something in my editor window?

MrEggplantation
join shbcf.ru