Set camera looking at player when start
This commit is contained in:
+4257
-4507
File diff suppressed because it is too large
Load Diff
@@ -41,6 +41,11 @@ public class CameraSystem : MonoBehaviour
|
|||||||
_followOffset = _cinemachineTransposer.m_FollowOffset;
|
_followOffset = _cinemachineTransposer.m_FollowOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
transform.position = Player.Instance.transform.position;
|
||||||
|
}
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
HandleCameraMovement();
|
HandleCameraMovement();
|
||||||
|
|||||||
Reference in New Issue
Block a user