Unity Certified Professional: Programmer
Full question bankEnglish
Exam overviewPractice session
Your gameplay code has a tight coupling problem: a PlayerHealth class directly instantiates and references a concrete UIHealthBar class, making it impossible to test PlayerHealth without the UI. Which SOLID principle is most directly violated, and what is the standard fix?
Loading your practice session…