Q40.webp
T

Q40.webp

Kizspy | Question: 40
(Choose 1 answer)
What does this script do?
using UnityEngine;
public class EventSubscriber: MonoBehaviour {
void Start() {
GameManager.Instance.OnGameOver += HandleGameOver;
void HandleGameOver() {
Debug.Log("Game Over!");
}
A. Moves the GameObject on game over
B. Subscribes to a game over event and logs a message
C. Changes the GameObject's material
D. Triggers an animation

Thông tin

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

Share this media

Back
Bên trên Bottom