using UnityEngine;

namespace Escape_Room_Engine.Portal
{
    public class PlayerCamera : MonoBehaviour
    {
        public new Camera camera;
        [SerializeField] private Transform leftEye, rightEye;

        public Transform GetEyeTransform(Camera.StereoscopicEye eye) =>
            eye == Camera.StereoscopicEye.Left ? leftEye : rightEye;
    }
}
