From c954eb63f70e80d2288a26c17d3297f8167fc72d Mon Sep 17 00:00:00 2001 From: stendler <stendler@mi.fu-berlin.de> Date: Tue, 6 Feb 2018 11:42:38 +0100 Subject: [PATCH] fix missing references (again?) and weird rotation. looks better now still has some scaling issues though. but it's at least on the same quality we had before changing from landscape to portrait. --- Assets/MemoryBox/arScene/Scripts/WebCamScript.cs | 2 +- Assets/MemoryBox/arScene/arScene.unity | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/MemoryBox/arScene/Scripts/WebCamScript.cs b/Assets/MemoryBox/arScene/Scripts/WebCamScript.cs index 65a47ae..18e18d4 100644 --- a/Assets/MemoryBox/arScene/Scripts/WebCamScript.cs +++ b/Assets/MemoryBox/arScene/Scripts/WebCamScript.cs @@ -36,7 +36,7 @@ namespace MemoryBox.arScene.Scripts cameraParent.transform.position = transform.position; transform.parent = cameraParent.transform; if (Application.isMobilePlatform) { - cameraParent.transform.Rotate (Vector3.right, 90); + //cameraParent.transform.Rotate (Vector3.right, 90); } DebugInfo.AddDebug("camParent transformed"); diff --git a/Assets/MemoryBox/arScene/arScene.unity b/Assets/MemoryBox/arScene/arScene.unity index 68a6f69..6d05fa5 100644 --- a/Assets/MemoryBox/arScene/arScene.unity +++ b/Assets/MemoryBox/arScene/arScene.unity @@ -2005,7 +2005,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!224 &390057442 RectTransform: m_ObjectHideFlags: 0 @@ -6505,7 +6505,7 @@ MonoBehaviour: m_EditorClassIdentifier: UserGps: {fileID: 606266132} Logger: {fileID: 1167427449} - VisibleAreaContainer: {fileID: 1924470806} + VisibleAreaContainer: {fileID: 0} --- !u!4 &1373830367 Transform: m_ObjectHideFlags: 0 -- GitLab