- Home /
Always have GUI Texture at Said Place Regardless of Resolution
Im trying to make it so my GUI Texture will always be where I place it regardless of the resolution. I DO NOT WANT TO KNOW USING ONGUI function.
Thank you in advance :)
(wow, all caps ... fierce!) This might help ... http://answers.unity3d.com/questions/32011/is-there-a-way-to-resize-a-guitexture-in-the-scene
Answer by T. · Jan 26, 2011 at 03:06 AM
Set the transform X & Y to 0.A
where A is the percentage of the screen you want to place it, i.e. 0.5, 0.5 would be the centre.
I would add that you should set all pixel inset values to 0 and use the scale vector, in order to keep achieve this.
Your answer
![](https://koobas.hobune.stream/wayback/20220613094910im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
ASPECT RATIO FILTER IN OnGUI? 3 Answers
GUI texture resolution problem 4 Answers
Multi-resolution!!! Sprite and GUI 1 Answer
Scale GUITexture to screen resolutions 1 Answer
Bulletproof way to do resolution independant GUI scaling? 2 Answers