change: Removed dependencies and references to OLD_StateController
This commit is contained in:
@@ -10,6 +10,7 @@ public enum UnlockedItems
|
||||
Trumpet,
|
||||
Tambourine,
|
||||
Clarinet,
|
||||
Cymbal,
|
||||
}
|
||||
|
||||
public class StateController : MonoBehaviour
|
||||
@@ -75,6 +76,11 @@ public class StateController : MonoBehaviour
|
||||
return this.itemProgression >= UnlockedItems.Clarinet;
|
||||
}
|
||||
|
||||
public bool HasCymbal()
|
||||
{
|
||||
return this.itemProgression >= UnlockedItems.Cymbal;
|
||||
}
|
||||
|
||||
void OnSceneLoaded(Scene scene, LoadSceneMode mode)
|
||||
{
|
||||
|
||||
@@ -132,6 +138,9 @@ public class StateController : MonoBehaviour
|
||||
case "ClarinetScene":
|
||||
this.itemProgression = UnlockedItems.Clarinet;
|
||||
break;
|
||||
case "MushroomForest":
|
||||
this.itemProgression = UnlockedItems.Cymbal;
|
||||
break;
|
||||
};
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user