- Home /
Cameras and GUIs
I have a 2D texture that I'm going to use as a buttons "up" state. I'm using EZGUI but I might as well be using a flat plane to display it, it doesn't seem to make any difference.
I can't seem to to get the texture to display at it's original size no matter what I try. Camera distance is only complicating the matter, how far, too close, the field of view etc. Are there magic numbers involved in getting a button to display properly on screen?
I'm using a perspective camera but I had the same issue with an orthographic one, the size slider doesn't make any sense to me. And I saw a post saying that the orthographic cameras field of view is half the height of the viewport? Whaaa?
I'm hella confused on how camera views work in relation to GUI elements, and the unity manual on cameras doesn't exactly help either.
Answer by Uriel_96 · Nov 19, 2010 at 12:56 AM
I dont know if you use this one but look at the answerthatmaybe what your looking for http://answers.unity3d.com/questions/21244/gui-postion-affacted-when-minimize-the-screen/27855#27855
$$anonymous$$eeping the positioning of them when the resolution changes is another battle too. Thanks though, for now I'd be happy just getting them not looking like blurry, fuzzy messes.
Your answer
Follow this Question
Related Questions
Is there a way to change the order of the "Layers" Tab? 0 Answers
Problem to position a GUIText centered at an object 1 Answer
Clamp To The Screen Edge 0 Answers
Camera main is not callable 1 Answer
Camera moving in one direction? 2 Answers