Hello unity community!
I have been trying to add a edge collider 2D to both borders of my camera, to prevent the player of leaving a certain area (camera is chasing the player).
But when the screen size is changed, the edge colliders remain in the same position.
How can this be fixed? Thanks in advance!
↧