refactor player assets into own assembly

This commit is contained in:
2022-11-25 13:55:23 +01:00
parent 11f1b313c6
commit a5b8e4d131
56 changed files with 62 additions and 8 deletions

View File

@@ -1,3 +1,3 @@
# Escape Room Engine Portals
# Escape Room Engine Player
An implementation of portals for the VR escape room engine.
Escape Room VR Player.

View File

@@ -1,13 +0,0 @@
using UnityEngine;
namespace EscapeRoomEngine.Portal.Runtime
{
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;
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: b2ceb62217b416743baa8beee7109cfb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -4,7 +4,8 @@
"references": [
"GUID:75469ad4d38634e559750d17036d5f7c",
"GUID:15fc0a57446b3144c949da3e2b9737a9",
"GUID:fe685ec1767f73d42b749ea8045bfe43"
"GUID:fe685ec1767f73d42b749ea8045bfe43",
"GUID:8804073475ba36c47830e8e19dc699ce"
],
"includePlatforms": [],
"excludePlatforms": [],