From 61d195d030b677046a09dd4df961e268a401182a Mon Sep 17 00:00:00 2001 From: alexiscatnip Date: Tue, 12 Jul 2022 23:49:45 +0800 Subject: [PATCH] refactor: fix imports broken by previous commit --- Assets/Raindrop/UI/Map/Camera/OrthographicCameraView.cs | 5 ++--- Assets/Raindrop/UI/Map/UI/MapUIView.cs | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Raindrop/UI/Map/Camera/OrthographicCameraView.cs b/Assets/Raindrop/UI/Map/Camera/OrthographicCameraView.cs index 3ab1ef5..d4ea242 100644 --- a/Assets/Raindrop/UI/Map/Camera/OrthographicCameraView.cs +++ b/Assets/Raindrop/UI/Map/Camera/OrthographicCameraView.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections; +using System.Collections; using UnityEngine; using UnityEngine.Serialization; using UE = UnityEngine; @@ -16,7 +15,7 @@ namespace Raindrop.UI.Views private float MinZoom = 0.1f; [SerializeField] private float MaxZoom = 10f; - [FormerlySerializedAs("cam")] [FormerlySerializedAs("camera")] public Camera Cam; + [FormerlySerializedAs("cam")] [FormerlySerializedAs("camera")] public UE.Camera Cam; // Obtain the bottom left corner of the viewable region // unity units. -- you need to x256 to get handle-units diff --git a/Assets/Raindrop/UI/Map/UI/MapUIView.cs b/Assets/Raindrop/UI/Map/UI/MapUIView.cs index 76611ca..edfc3fd 100644 --- a/Assets/Raindrop/UI/Map/UI/MapUIView.cs +++ b/Assets/Raindrop/UI/Map/UI/MapUIView.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Threading; using OpenMetaverse; using Plugins.CommonDependencies; +using Raindrop.Camera; using UnityEngine; using Raindrop.UI.map.Map_SceneHierachy;