🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Extending Unity editor and new UI

Started by
2 comments, last by Ravyne 8 years, 10 months ago
I want to implement some tools inside Unity, like our dialog editor, but found a couple of tutorials and they use the old gui system (OnGUI). Does somebody knows some example based on the new system?
Advertisement

If you want to use the GameObject / Component based new UI for tool functionality, then the tools need to be actually running inside your Unity application. In that case you could look into any Unity new UI tutorials, but you are limited by what the Unity runtime API allows you to do.

However if you want to extend the editor itself, and create new windows or inspectors for it, you still need to use the old-style UI functions, as per Unity's documentation: http://docs.unity3d.com/Manual/editor-EditorWindows.html

This book is due in the next month or two. Also as mentioned before there is some information in the manual about editor scripting, but I found it fairly sparse.

http://www.amazon.com/Extending-Editor-Scripting-Angelo-Tadres-ebook/dp/B00YSILCD4/ref=sr_1_1?ie=UTF8&qid=1441404570&sr=8-1&keywords=unity+editor+extending

Perhaps this book will be prereleased as packtpub sometimes does RAW releases.

If this post or signature was helpful and/or constructive please give rep.

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

// Easy to learn 2D Game Library c++

SFML2.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/

// Excellent 2d physics library Box2D

http://box2d.org/about/

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

AFAIK, the new GUI is for in-engine scripts, not in-editor ones. I could be wrong, and you're right to be envious of the in-engine GUI because its a lot nicer in several ways, but I believe that's the current state of affairs. I'd hope to see the new GUI, or an improved in-editor GUI, come about though too.

throw table_exception("(? ???)? ? ???");

This topic is closed to new replies.

Advertisement