Q39.webp
T

Q39.webp

Kizspy | Question: 39
(Choose 1 answer)
What does [SerializeField] do?
public class Player: MonoBehaviour {
}
[SerializeField] private int health = 100;
A. Exposes the variable globally across all scripts in the project
B. Restricts modifications to the variable during runtime execution
C. Enables editing of the private variable through the Inspector interface
D. Removes the variable from the component's serialized data

Thông tin

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

Share this media

Back
Bên trên Bottom