Комментарии:
I can see the use in this but I'd have just used debug.log. Why is it so difficult to add buttons to the inspector though?
ОтветитьWould be interesting to see comparison of updated out of box UI editor API and Odin Inspector API for UI extensions — like which one is currently more code-friendly and visually appealing better. I thought making Unity UI out of box without Odin is gonna be painful...
ОтветитьI completely forgot about this gem! Thanks Jason (& Yoraiz0r)
Ответитьsadly... nobody uses unity anymore...
ОтветитьAwesome!
ОтветитьThat's really cool. Now I'm interested in learning more about editor manipulation, and how to make tools and stuff lol
ОтветитьI use the OnPreviewGUI to draw a preview of a MIDI file in the inspector for Sound Reactor Pro. However, I just looked, and I inherit from Editor, not ObjectPreview.
Ответитьsuper useful.thx
ОтветитьCool. Love this kind of quick tips
ОтветитьNot really a hack this is the beauty of object oriented programming
Ответитьdude why so close?
ОтветитьVery nice!
ОтветитьAmazing hack, kudos to the person for suggesting it.
Ответить