- Home /
Question by
numberkruncher · Mar 12, 2015 at 11:06 PM ·
guieditoreditorwindowongui
How to draw button in editor window rotated by 90 degrees?
I want to draw a button that is rotated by 90 degrees so that it fills a given position.
I have been messing around with GUIUtility.RotateAroundPivot
but unfortunately the clipping keeps misbehaving for me. Although I have been able to get the placement correct... it's getting cut off.
Here is what I am after (Photoshop Image!!):
I want to align the button to the right of the window.
Any ideas guys?
test-button.png
(7.5 kB)
Comment