UnityBiz/Assets/scripts/Camera/PlayerCameraSettings.cs
adamwi1000 b854205dcb test
2024-08-02 06:41:41 +02:00

17 lines
537 B
C#

using UnityEngine;
namespace Player.Camera
{
[CreateAssetMenu(menuName = "Player/Player Camera Settings", fileName = "PlayerCameraSettings")]
public class PlayerCameraSettings : ScriptableObject
{
[SerializeField] private float mouseSensitivity = 1f;
[SerializeField] private float minAngle = -90f;
[SerializeField] private float maxAngle = 90f;
public float MinAngle => minAngle;
public float MaxAngle => maxAngle;
public float MouseSensitivity => mouseSensitivity;
}
}