Kizspy | Question: 7
(Choose 1 answer)
What does this script do?
using UnityEngine;
public class PlayerMovement: MonoBehaviour {
void Update() {
float move Input.GetAxis("Horizontal");
transform. Translate(move * Time.deltaTime, 0, 0);
A. Rotates the GameObject based on mouse input
B. Moves the GameObject left or right based on input
C. Scales the GameObject
D. Triggers an animation