- Home /
Is there a way to resize a GUItexture in the Scene?
I have been playing with GUItextures alot lately, and wished that they could be resized in the Scene just like 3d GameObjects can be resized using the scale button/icon. Other than changing the width and height of the pixel inset, is there a way 2d objects can be resized by using a mouse apart from creating an editor script?
Answer by Stucko_Stuck · Dec 19, 2010 at 03:56 AM
Ahhh the scale of an object can't be 0, Resizing in the scene view using Scale tool will only work if the scale isn't 0.
Answer by Eric5h5 · Dec 16, 2010 at 04:36 PM
Set all pixel inset values to 0, and use the scale instead. Then they can be resized in the scene like other objects, and will also be resolution-independent. The only thing you might have to do is consider different aspect ratios, using a script like this.