Hi everyone! I would like to know if there is some away to draw a rotated image on the GUI. Or I must have all the images (even when is the same image in diferent angle ) in my assets?
I would appreciate any help.
Sep 24 '10 at 02:28 AM
Sep 24 '10 at 04:58 PM
Look up GUIUtility.RotateAroundPivot, which you use with GUI.matrix (you store the original matrix, use the rotated matrix, draw your texture then reset the original matrix).
Sep 24 '10 at 05:10 PM
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Sep 24 '10 at 02:28 AM
Seen: 2403 times
Last Updated: Sep 24 '10 at 04:58 PM
Rotate GUI elements in 3D space
Iphone gui text
Need to stop rotation of cylinder after a certain number of rotations
GUI.Toolbar with different images for each button using GUIStyle
Choppy lines when using GUI.Label
How to align a GUI texture with the top left of the screen?
GUI Button using .png image?
Finding the Screen Coordinates of the horizon when camera is rotating?
How can I prevent my GUI background texture from getting pixelated or stretched?
Can you use GUI.DrawTexture to make a clickable button