Modified first level
This commit is contained in:
@@ -133,7 +133,7 @@ Camera:
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 1
|
||||
m_BackGroundColor: {r: 0.8867924, g: 0.14556777, b: 0.5208201, a: 0}
|
||||
m_BackGroundColor: {r: 0.15799214, g: 0.16357945, b: 0.26415092, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -136,7 +136,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2662163039948621854, guid: 1da5e227ed55bcd4b943e0ceef78aefb, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -6.536235
|
||||
value: -7
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2662163039948621854, guid: 1da5e227ed55bcd4b943e0ceef78aefb, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
|
@@ -14,7 +14,7 @@ namespace Camera
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (_cinemachineVirtualCamera.Follow == null && GameObject.FindWithTag("Player") != null)
|
||||
if (_cinemachineVirtualCamera.Follow == null && GameObject.FindWithTag("Player") != null && !GameObject.Find("Fixed Camera Point"))
|
||||
_cinemachineVirtualCamera.Follow = GameObject.FindWithTag("Player").transform;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user