- Home /
Mobile game, edges as colliders
Right now I have a game which makes the camera look down into a sort of box in which I placed walls, I put the mesh renderers of these walls of to make them invisible but still act as a collider. However, this limits the game to a certain resolution and I want it to make it work to all resolutions.
So my question here is:
Is there a neat way to automatically make the edges of the screen act as colliders?
If not, should I codewise detect the resolution and then set the walls of the box at the appropriate position?
Your answer
Follow this Question
Related Questions
Mobile Game starts lagging after a while when playing on my phone!!!! Pls Help!!! 1 Answer
Does Unity support different pixel densities? 1 Answer
Is there any problem in using assets as prefabs instead of just gameobject? 0 Answers
How do I make mobile controls work within unity? For example moving, jumping and pressing buttons. 0 Answers
Function not returning value on android 0 Answers