From e7026b0f08036a10d79cb1132b92e2ec17dea647 Mon Sep 17 00:00:00 2001 From: BenoitArbelot Date: Tue, 31 Mar 2020 10:58:09 +0200 Subject: [PATCH] Fixed depth type. --- Assets/Scripts/CameraController.cs | 6 ++++++ Assets/Scripts/PointManager.cs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/CameraController.cs b/Assets/Scripts/CameraController.cs index b6ecdec..23906c4 100644 --- a/Assets/Scripts/CameraController.cs +++ b/Assets/Scripts/CameraController.cs @@ -239,6 +239,9 @@ public void SwitchToOrthographic() { SetDistanceFromAreaSize(); } + /// + /// Load PlayerPrefs + /// void LoadPlayerPrefs() { //Camera projection type @@ -264,6 +267,9 @@ void LoadPlayerPrefs() { } + /// + /// Save to PlayerPrefs + /// void SavePlayerPrefs() { //Camera projection type diff --git a/Assets/Scripts/PointManager.cs b/Assets/Scripts/PointManager.cs index 8047cc4..0f3131f 100644 --- a/Assets/Scripts/PointManager.cs +++ b/Assets/Scripts/PointManager.cs @@ -745,7 +745,7 @@ public void SendAugmentaMessage(string address, GameObject obj) msg.Append(-behaviour.normalizedVelocity.x); msg.Append(-behaviour.normalizedVelocity.z); - msg.Append(0); + msg.Append(0.0f); //Bounding msg.Append(pointX - behaviour.size.x * 0.5f / width);