Search Unity

Resizing GUI Textures

Discussion in 'Immediate Mode GUI (IMGUI)' started by pokobros, Mar 23, 2014.

  1. pokobros

    pokobros

    Joined:
    Jan 30, 2014
    Posts:
    119
    I have a Texture with these settings: $Screen Shot 2014-03-23 at 11.48.11 AM.png And I am using this extension:http://wiki.unity3d.com/index.php/TextureScale but when I run the code the Texture literally washes away and it becomes a dark grey. Has anybody used this before and can tell me what I am doing wrong?
     
  2. HolBol

    HolBol

    Joined:
    Feb 9, 2010
    Posts:
    2,887
    There's a whole Unity GUI section of the forum. How did you miss it?
     
  3. pokobros

    pokobros

    Joined:
    Jan 30, 2014
    Posts:
    119
    Sorry about that... Can someone move it??
     
  4. pokobros

    pokobros

    Joined:
    Jan 30, 2014
    Posts:
    119
  5. TIGGYsmalls

    TIGGYsmalls

    Joined:
    Jan 10, 2013
    Posts:
    38
    Is this the only way to resize a GUI texture other than making the image a background to a style?

    An option to scale the chosen image up in the style settings would cut out lots of problems.