17 lines
537 B
C#
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;
|
|
}
|
|
}
|