diff --git a/ProjectNLD/Assets/Code/Scripts/Gameplay/Level/State/BattleState.cs b/ProjectNLD/Assets/Code/Scripts/Gameplay/Level/State/BattleState.cs index 421a10d3745..974283530da 100644 --- a/ProjectNLD/Assets/Code/Scripts/Gameplay/Level/State/BattleState.cs +++ b/ProjectNLD/Assets/Code/Scripts/Gameplay/Level/State/BattleState.cs @@ -71,6 +71,8 @@ namespace Gameplay.Level CameraManager.Instance.MainCamera.GetComponent().leftMargin = cameraInfo.leftMarginInFight; CameraManager.Instance.MainCamera.GetComponent().topMargin = cameraInfo.topMarginInFight; CameraManager.Instance.MainCamera.GetComponent().bottomMargin = cameraInfo.bottomMarginInFight; + + CameraManager.Instance.MainCamera.GetComponent().AdjustSelf(); } protected override void _OnUpdate(float deltaTime) diff --git a/ProjectNLD/Assets/Code/Scripts/Gameplay/Level/State/PrepareState.cs b/ProjectNLD/Assets/Code/Scripts/Gameplay/Level/State/PrepareState.cs index 0ce915f5a6f..c85bea11d35 100644 --- a/ProjectNLD/Assets/Code/Scripts/Gameplay/Level/State/PrepareState.cs +++ b/ProjectNLD/Assets/Code/Scripts/Gameplay/Level/State/PrepareState.cs @@ -35,6 +35,7 @@ namespace Gameplay.Level CameraManager.Instance.MainCamera.GetComponent().topMargin = cameraInfo.topMarginInInPre; CameraManager.Instance.MainCamera.GetComponent().bottomMargin = cameraInfo.bottomMarginInPre; + CameraManager.Instance.MainCamera.GetComponent().AdjustSelf(); } protected override void _OnUpdate(float deltaTime)