If you are looking for a camera script to use with a top-down shooter or 2D side-scrolling game, then this is the script for you!

The script itself is very simple to understand with comments describing the different variables. With public variables for camera speed, camera distance, crosshair texture, lookAt, makes this easy to use from the editor. Just drag and drop the script on to your main camera, and then drag and drop the object(player) you want the camera to be “focused” on.

This script makes the camera follow the point between the targeted objected and the mouse position smoothly. You can also make the target to look at the mouse position and decide to use crosshair or not.

Contact me for troubleshooting, i will do my best to satisfy anyone who wants to use this.

by
by
by
by
by
by