diff options
author | chai <chaifix@163.com> | 2021-09-17 20:09:19 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-09-17 20:09:19 +0800 |
commit | 234c25bc8761a4d41bc5b4aa362449cf3e806e13 (patch) | |
tree | 69cc0b7002ac8018af1806de366526dfc089d49e /Assets/Scripts/Managers/SceneManager.cs | |
parent | ea4624fbef6e9d8f58da12be363807eb19a37b53 (diff) |
*unit image effect
Diffstat (limited to 'Assets/Scripts/Managers/SceneManager.cs')
-rw-r--r-- | Assets/Scripts/Managers/SceneManager.cs | 7 |
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; } }
}
|