add subfolder structure

This commit is contained in:
2022-10-10 21:17:02 +02:00
parent 2d4bd97b8e
commit 6aebee68d3
47 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
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;
}
}