With this TopDown CameraSetting community component, you can set a top-down, Darkwood-like camera view.
This is how the scene should look (below):
This component includes:
|Distance interval||The offset distance between the camera and the target. X: minimum distance; Y: maximum distance; Z: default distance.|
|At depth||The initial depth of the camera. You should enter a Y value only. For example, if you set the Y value of the ground to 10 and the depth to 30, the distance between your camera and the ground will be 20.|
|FOV||The field of view of the camera in degrees|
|Half soft zone ratio||The half ratio of soft zone from the center of the screen to the whole screen. The camera moves in its X-Y plane to follow the player when the player exits the soft zone. X: half ratio of soft zone width to the whole screen width; Y: half ratio of soft zone height to the whole screen height. Both X and Y values should be between 0 and 0.5.|
|IsPerspective||Is the camera perspective or orthographic?|
As this is a global component, you can attach this component to any object in the scene. However, it's a best practice to create an empty object named GameManager and attach this component to it.
It's recommended using only one camera component in a scene to ensure smooth gaming. To replace an existing camera component, remove the current one and add a new one.