fixed: tambourine ui resets properly on player death
This commit is contained in:
@@ -55,4 +55,16 @@ public class GameUIController : MonoBehaviour
|
||||
clarinetUI.GetComponent<Image>().enabled = toggleState;
|
||||
}
|
||||
}
|
||||
|
||||
public void ResetInstrumentUI() {
|
||||
if (stateController.unlockedTrumpet) {
|
||||
ToggleTrumpet(true);
|
||||
}
|
||||
if (stateController.unlockedTambourine) {
|
||||
ToggleTambourine(true);
|
||||
}
|
||||
if (stateController.unlockedClarinet) {
|
||||
ToggleClarinet(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user