- Home /
How to make gui image button revolve
How can you make a gui imagebutton to revolve around it axis. Please help Thanx
Answer by Molix · Feb 13, 2011 at 01:26 PM
If you mean a GUI.Button, then you can use GUIUtility.RotateAroundPivot.
Answer by Proclyon · Nov 22, 2010 at 01:47 PM
Transform is not a property of the GUI , so you can rotate in the normal manner of speaking. You are going to have to do a bit of math yourself I'm afraid.
Rectangle is used for drawing what u need. A string in a rect , and the rect has 4 location properties as you can see here
You are going to have to change the points and create a rotation. Just keep the distance between the points the same at all times or it will look warped
Your answer
Follow this Question
Related Questions
GUI Button to toggle true false when pressed 1 Answer
GUI Button not displaying an icon 3 Answers
Is it possible to detect which GUIStyleState is used? 2 Answers
GUI Button make text bigger. 2 Answers
Touches aren't working on Android 1 Answer