Quantcast
Channel: Questions in topic: "screen size"
Viewing all articles
Browse latest Browse all 225

Change collider position depending of screen size?

$
0
0
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!

Viewing all articles
Browse latest Browse all 225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>