Kizspy Question: 32
(Choose 1 answer)
What does this script do?
using UnityEngine;
public class CameraFollow: MonoBehaviour {
public Transform target;
void LateUpdate() {
}
transform.position = new Vector3(target.position.x, target.position.y, -10f);
A. Moves the camera to follow a target in 2D space
B. Rotates the camera around the target
C. Scales the camera
D. Triggers an animation