Kaynağa Gözat

修改战场相机参数,以适配新版的战斗场景

大爷 1 yıl önce
ebeveyn
işleme
f325b90b26

+ 2 - 2
Unity/Assets/Scripts/Codes/HotfixView/Client/Camera/CameraMgr.cs

@@ -10,8 +10,8 @@ namespace ET.Client
         public static void Init()
         {
             var camera = GlobalViewComponent.Instance.BattleCamera;
-            camera.transform.position = new Vector3(30, 45, -60);
-            camera.fieldOfView = 70;
+            camera.transform.SetPositionAndRotation(new Vector3(30, 45, -3.16f), Quaternion.Euler(35, 0, 0));
+            camera.fieldOfView = 60;
         }
 
         //相机跟随主角