Hi!
I 'm developing a game which uses a vertical and a horizontal bar!
In horizontal bar i got an icon which goes from left to right and in vertical from down to up!
Now my problem is that for the horizontal bar the icon i use(to go form left to right) is a jpeg image of size 2x32,. In unity editor disatnces seem ok but when i run the game the icon becomes 2x26!
Now for the vertical bar i started by using a 32x2 jpeg image but when running the game it didn’t show up, now i use a 32x16 image but when game runs it becomes 20x10!
that’s how i use them…
public Texture2D progIcon;
public Texture2D progIcon2;
iconRect = new Rect(200,50,progIcon.width,progIcon.height);
iconRect2 = new Rect(100,100,progIcon2.width,progIcon2.height);
GUI.Label(iconRect,progIcon);
GUI.Label(iconRect2,progIcon2);
Any idea why this happens?(I just started using unity)