actually fixed UI

This commit is contained in:
Sam
2023-05-04 14:17:57 -07:00
parent ef2fe7c97f
commit 2dd782e72f
2 changed files with 6 additions and 6 deletions

View File

@@ -19,9 +19,9 @@ public class GameUIController : MonoBehaviour
this.trumpetUI = trumpetBackground.transform.GetChild(0).gameObject;
this.tambourineUI = tambourineBackground.transform.GetChild(0).gameObject;
this.clarinetUI = clarinetBackground.transform.GetChild(0).gameObject;
}
// TODO: This can be probably be combined with the update methods
void Start() {
this.trumpetBackground.SetActive(StateController.Instance.HasTrumpet());
this.tambourineBackground.SetActive(StateController.Instance.HasTambourine());
this.clarinetBackground.SetActive(StateController.Instance.HasClarinet());