예제 #1
0
 public void AddScore(int blockScore)
 {
     this.score += blockScore;
     OnScoreUpdateEvent?.Invoke(this.score);
 }
예제 #2
0
 public void InvokeOnScoreUpdateEvent()
 {
     _onScoreUpdateEvent.Invoke(_value);
 }
예제 #3
0
 internal void Init()
 {
     score = 0;
     OnScoreUpdateEvent?.Invoke(this.score);
 }