- Home /
Question by
darkknightsaver1 · Jan 19, 2014 at 02:47 PM ·
camera
basic 2D camera setup
Hey I'm new to unity and I was wondering how to make the camera move left or right when the player reaches the edge of the camera and stop when it reaches the edge of the game area?
Comment
Best Answer
Answer by kubci98 · Jan 19, 2014 at 04:21 PM
From assets store, download "Unity Projects: 2d platformer" (1st in top free). They used same script as you need (CameraFollow.cs). https://www.assetstore.unity3d.com/#/content/11228
Your answer
Follow this Question
Related Questions
2d camera scrolling 0 Answers
Freezing camera 1 Answer
How to make camera position relative to a specific target. 1 Answer
Camera speed 2 Answers
How to freeze camera? 1 Answer