private Rect fullScreenRect = new Rect(0,0, Screen.width, Screen.height);
Does not work,
using
GUI.DrawTexture(fullScreenRect, imageStack*, ScaleMode.StretchToFill);*
My image only stretches to about 3/4 of the width and height.
What gives?
private Rect fullScreenRect = new Rect(0,0, Screen.width, Screen.height);
Does not work,
using
GUI.DrawTexture(fullScreenRect, imageStack*, ScaleMode.StretchToFill);*
My image only stretches to about 3/4 of the width and height.
What gives?
maybe your texture has a max size and thats the reason you cant make it bigger
What GUI style are you using? The default one should work, but if your style has interesting choices for settings like padding and such on buttons then you might get that result.
Is your image the right aspect ratio? I haven’t worked with, say, putting a 4:3 image into a 19:10 space, but I imagine it might be tricky to convince Unity to warp an image like that.
It appears that this is an editor only issue, when i uploaded my app to the ipad, the image stretched to fill the entire screen.