Q22.webp
T

Q22.webp

Kizspy | Question: 22
(Choose 1 answer)
What does the 'SaveScore method do?
using UnityEngine;
public class ScoreSave: MonoBehaviour {
public PlayerScoreData scoreData;
public void SaveScore() {
PlayerPrefs.SetInt("Score", scoreData.playerScore);
PlayerPrefs.Save();
A. Loads a score from PlayerPrefs
B. Saves the score to PlayerPrefs
C. Deletes the score
D. Logs the score

Thông tin

Category
FGU301
Thêm bởi
thuyhoa276
Ngày thêm
Lượt xem
185
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom