marijnz / unity-toolbar-extender

Extend the Unity Toolbar with your own Editor UI code.
MIT License
1.67k stars 168 forks source link

Update ToolbarExtender.cs #14

Closed Frank-99 closed 4 years ago

Frank-99 commented 5 years ago

in 2019 the center buttons are 140 of width instead of 100, as it was in 2018. While fixing that, I thought that the "StandardDimensions" would have been a nice feature, but if you think it's better without it, I can remove it from my edit before you accept the pull request! :)

Frank-99 commented 5 years ago

I see, I edited it that way so that in my project I'm able to access it from my custom button GUI method and keep everything more neat and "standard"... Here I made it as you asked for the pull request though :)

BTW, I wanted to say that while looking around I found the unite 2017 video and I was very mesmerised, it gave me a lot of great ideas for some tools I'm making, and some great others to fix issues I have! :D

marijnz commented 5 years ago

Hey, completely missed this thread. Great to hear the talk is helping you!

brogan89 commented 4 years ago

how come this has been approved but not merged? This commit is important for supporting new unity editor.