summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Managers/SceneManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Scripts/Managers/SceneManager.cs')
-rw-r--r--Assets/Scripts/Managers/SceneManager.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/Assets/Scripts/Managers/SceneManager.cs b/Assets/Scripts/Managers/SceneManager.cs
index c986a1b1..182b662d 100644
--- a/Assets/Scripts/Managers/SceneManager.cs
+++ b/Assets/Scripts/Managers/SceneManager.cs
@@ -5,11 +5,6 @@ using UnityEngine;
public class SceneManager : Singleton<SceneManager>
{
- public Camera mainCamera { get; private set; }
-
- public void SetMainCamera(Camera cam)
- {
- mainCamera = cam;
- }
+ public Camera mainCamera { get { return MainCamera.Instance.camera; } }
}