fixed UI
This commit is contained in:
commit
7070b33ad3
@ -61,24 +61,24 @@ public class StateController : MonoBehaviour
|
|||||||
|
|
||||||
public bool HasTrumpet()
|
public bool HasTrumpet()
|
||||||
{
|
{
|
||||||
return this.itemProgression >= UnlockedItems.Trumpet;
|
return this.itemProgression >= UnlockedItems.Trumpet - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public bool HasTambourine()
|
public bool HasTambourine()
|
||||||
{
|
{
|
||||||
return this.itemProgression >= UnlockedItems.Tambourine;
|
return this.itemProgression >= UnlockedItems.Tambourine - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public bool HasClarinet()
|
public bool HasClarinet()
|
||||||
{
|
{
|
||||||
return this.itemProgression >= UnlockedItems.Clarinet;
|
return this.itemProgression >= UnlockedItems.Clarinet - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool HasCymbal()
|
public bool HasCymbal()
|
||||||
{
|
{
|
||||||
return this.itemProgression >= UnlockedItems.Cymbal;
|
return this.itemProgression >= UnlockedItems.Cymbal - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnSceneLoaded(Scene scene, LoadSceneMode mode)
|
void OnSceneLoaded(Scene scene, LoadSceneMode mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user