Unity 2D camera Bounds for player
Im new to unity and have made a few apps within X-code using swift, I made a knock off flappy bird on there to get the hang of things and am doing the same here. My problem is the player does not move along the x-axis but goes up and down along the y-axis. What i'm trying to do is to create a roof or floor of some sort that fit the camera view for multiple devices, or is there a way to make the top and bottom of the camera view a collision for the player so it cannot escape the game view. Any help please this is hard for me to find good information on.
Comment