Score now works
This commit is contained in:
1 parent
27082a717c
commit
40d5446e81
4 files changed
+85
-9
No files matched your search
@@ -28,6 +28,8 @@ public class Game : MonoBehaviour
|
||||
|
||||
List<Note> activeNotes = new();
|
||||
|
||||
public int Score { get; set; } = 0;
|
||||
|
||||
void Awake()
|
||||
{
|
||||
menu = GetComponent<MainMenu>();
|
||||
@@ -54,8 +56,7 @@ public class Game : MonoBehaviour
|
||||
|
||||
foreach (Note note in newNotes)
|
||||
{
|
||||
Debug.Log("Removing note");
|
||||
Debug.Log(allNotes.Remove(note));
|
||||
allNotes.Remove(note);
|
||||
}
|
||||
|
||||
menu.GameElem.UpdateNotes(newNotes);
|
||||
|
||||
Reference in new issue
Block a user