public void MissBeatDamage() { if (!musicHandler.started) { return; } OnFailBeat.Invoke(); if (bTutoCleared) { discoController.AddDisco(-failBeatBoogieCost); discoController.AddBoogie(-failBeatBoogieCost); } }
void Update() { if (UnityEngine.Input.GetKeyDown(KeyCode.UpArrow)) { discoController.AddBoogie(+1); discoController.AddDisco(+1); } else if (UnityEngine.Input.GetKeyDown(KeyCode.DownArrow)) { discoController.AddBoogie(-1); discoController.AddDisco(-1); } else if (UnityEngine.Input.GetKeyDown(KeyCode.LeftArrow)) { //discoController.AddValhalla(-5); } else if (UnityEngine.Input.GetKeyDown(KeyCode.RightArrow)) { discoController.ChangeColor(); //discoController.AddValhalla(+5); } }