This commit is contained in:
2023-02-20 16:16:23 +01:00
parent 4ec15e928f
commit aa638ee67c
9 changed files with 127 additions and 120 deletions

View File

@@ -7,7 +7,6 @@ public class CameraMovement : MonoBehaviour
public Camera mainCamera;
public Vector3 offset;
public void moveCameraToTarget(Transform target) {
Debug.Log("Moved to " + target.name);
mainCamera.transform.position = target.position + offset;