- Home /
Question by
Tyler 2 · Feb 27, 2011 at 05:01 AM ·
camerabuildresolution
Build camera problems...
When I publish my game and go into any resolution that is not a 3:2 aspect ratio, the camera gets distorted. Its as if it is at a different height and has a different field of view (I can view more than I intend the player to see in my scenes). Anyone have any ideas as to why this is happening? TGUI is also getting displaced, even though I am using the code below, which is supposed to scale it according to the player's selected resolution(Its placed inside a GUI function).
GUI.matrix = Matrix4x4.Scale(Vector3(644 * Screen.width, 966 * Screen.height, 1));
Comment
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Camera Changes Proportions In Build 1 Answer
Camera too zoomed in in built game 1 Answer