Kizspy | Question: 24
(Choose 1 answer)
What does this script do?
using UnityEngine;
public class Score Display: MonoBehaviour {
public PlayerScoreData scoreData;
void Update() {
}
Debug.Log("Current Score: " + scoreData.playerScore);
A. Incrementally increases the player's score value
B. Displays the player's score from a ScriptableObject
C. Persists the score data to local storage
D. Initiates an animation based on score changes