- Home /
GUI Label Width & Height
I'm having trouble with this, I'm not that familiar with the GUI yet. Basically, I want to have the Width and Height of my label equals the size of the font, if that makes sense?
  GUI.Label(new Rect(Screen.width/2 - x1/2,  Screen.height/2 - y1/2,w1, h1),"Hello", style1);
I want it so that when I click it, it'll do something but without a width and height equal to the label/font size, you can't click it as it is 0.


 
                 
                untitledk-1.jpg 
                (30.5 kB) 
               
 
                
                 
                untitled.jpg 
                (16.4 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Cropped Label Problem - Big Font - Unity3D 1 Answer
Can't draw GUI.Label text on subpixel values 0 Answers
Multiple Cars not working 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                