hi everyone
I want to rotate my gui(texture)
and
I wanna change my size&color&font… of written
what should I do?
tx
i was just wondering how to rotate on a GUI as well.
the soloution I came up with is to use a gui texture and rotate the game object, but it’s not ideal =/
what is the proper way?
for color, font, etc, just use a GUIStyle.
var ButtonStyle:GUIStyle;
if(GUI.Button(buttonRect, "Start Game", ButtonStyle)){
//do something
}
then in your GUIStyle setting just set the color for the different situations, and the font, etc.
if it’s for an iphone game you can’t adjust the font size dynamically.
Hi! For rotating GUI you can use GUI.matrix. For example, let’s think you want a label in position 100, 100 rotated 45 grades
great! this is very useful!