Hi,
I am wondering how to write custom editor extensions for Unity.
For example, uSequencer (by Well Fired Development) has a custom timeline, which couldn’t be found in the documentation whatsoever.
Any ideas?
Thanks in advance
Hi,
I am wondering how to write custom editor extensions for Unity.
For example, uSequencer (by Well Fired Development) has a custom timeline, which couldn’t be found in the documentation whatsoever.
Any ideas?
Thanks in advance
Hey there,
Asking how to make an editor (especially a complex when like you asked) is very much like saying “How do I make a game?” There is a ton to know about before you will be able to create something on that scale. The best advice is to start very simple and build your way up.
Start off by building a simple inspector for some of your classes. Once you get an idea of how things work it should be quite easy (but time consuming) to make what you are looking for.
Cheers,
Sorry, I was a bit misleading.
How do I write custom editor COMPONENTS. E.g buttons, labels etc. Like uSequencer has a timeline editor, which is a custom made component.
That is a much better question (that I might have just messed up reading the first time)!
All of Unity’s UI controls are based off the same base object with states. The just look different because they have different styles. You can create your own styles in code or in your project by right clicking in the project folder and going Create/GUISkin. A GUISkin is a collection of styles.
Cheers,
There’a great recent blog post that provides a comprehensive starting point
Thanks a lot! It seems to be something I am looking for