- Home /
How to make sure the view is covered on different screens.
This is a very basic question.
In my game neither the object is moving nor the camera. I want to make sure that certain objects are at the edges and the corners of the screen. The game will run on different screens, how can I make sure that irrespective of the screen size, the objects are placed at the edges and corners of the screen? Where should I place them in my game?
Hi! Are you using orthographic or perspective camera? Depending on the mode, it is more simpler (to get a head around). The implementation is equally easy since Unity provides functions for both.
How flexible should it be?
Is the camera positioned at Vector3.zero or does it use it as lower left corner? (From your question I suppose you don't have decided yet)
In what language? C#?
Answer by tanoshimi · Jun 07, 2015 at 11:16 AM
Use a canvas set to scale with the screen: http://docs.unity3d.com/Manual/HOWTO-UIMultiResolution.html