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.
List of fields that can be accessible and tweaked in the inspector:
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.
List of fields that can be accessible and tweaked in the inspector:
And other features maybe?