DarkRewar / BaseTool

A big library of basic tools that you might need in your Unity projects.
MIT License
41 stars 6 forks source link

Create STR CameraController #90

Open DarkRewar opened 4 months ago

DarkRewar commented 4 months ago

Context

Create a MonoBehaviour component that manage a camera movement controller like STR games.

Description

The script must be in the Movement module. The component must allow be place on a Camera only.

How does it work? When moving the cursor to a side of the screen, the camera moves to the direction of the screen. There are 4 sides, so 4 areas. When two areas overlap, the camera moves diagonally.

str_camera_movement

List of fields that can be accessible and tweaked in the inspector:

And other features maybe?