Skip to content

Commit 0ea0c46

Browse files
merge develop
2 parents 5d3b6a1 + e460e1b commit 0ea0c46

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Assets/Prefabs/GameCam/CMCameraPrefab.prefab

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ MonoBehaviour:
292292
Enabled: 1
293293
Input:
294294
InputAction: {fileID: -5536139033653354306, guid: add476edce0d24d26bcdaf1681449ecf, type: 3}
295-
Gain: 1
295+
Gain: -50
296296
CancelDeltaTime: 0
297297
InputValue: 0
298298
Driver:

Assets/Scripts/CameraUtils/CameraController.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Unity.BossRoom.CameraUtils
77
public class CameraController : MonoBehaviour
88
{
99
const string k_CMCameraTag = "CMCamera";
10-
10+
1111
void Start()
1212
{
1313
AttachCamera();
@@ -17,7 +17,7 @@ void AttachCamera()
1717
{
1818
var cinemachineCameraGameObject = GameObject.FindGameObjectWithTag(k_CMCameraTag);
1919
Assert.IsNotNull(cinemachineCameraGameObject);
20-
20+
2121
var cinemachineCamera = cinemachineCameraGameObject.GetComponent<CinemachineCamera>();
2222
Assert.IsNotNull(cinemachineCamera, "CameraController.AttachCamera: Couldn't find gameplay CinemachineCamera");
2323

@@ -27,10 +27,10 @@ void AttachCamera()
2727
cinemachineCamera.Follow = transform;
2828
cinemachineCamera.LookAt = transform;
2929
}
30-
30+
3131
var cinemachineOrbitalFollow = cinemachineCameraGameObject.GetComponent<CinemachineOrbitalFollow>();
3232
Assert.IsNotNull(cinemachineOrbitalFollow, "CameraController.AttachCamera: Couldn't find gameplay CinemachineOrbitalFollow");
33-
33+
3434
if (cinemachineOrbitalFollow != null)
3535
{
3636
// default rotation / zoom
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:a9783b734e1a87fb1b78db7e595c21cd6a2181cd9a79b8d5c30c3d7d208ba2ac
2+
oid sha256:a1aaae34ac488350fcf9b7d9b51cff00d9574036c0115d6d444baafb8a361c7a
33
size 14424

0 commit comments

Comments
 (0)