This commit is contained in:
2025-12-18 03:49:05 +08:00
parent 668bd03f63
commit 667a39c260
8 changed files with 6 additions and 18 deletions

View File

@@ -1,10 +1,9 @@
using System;
using Services.Interfaces;
using UnityEngine;
namespace Services {
public class ScoreService : IScoreService {
private int score = 0;
private int score;
public int Score => this.score;
public event Action<int> OnScoreChanged;
public void AddScore(int value) {