File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Assets/Scripts/CameraUtils Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments