private void OnMatchFound(BallGridMatchArgs e) { TotalMatches++; if (e.BallPath.Count > LargestMatch) { LargestMatch = e.BallPath.Count; } }
private void OnMatchFound(BallGridMatchArgs e) { var balls = e.BallPath.OrderBy(b => b.gameObject.transform.position.y).ToList(); float delay = 0.1f; foreach (var ball in balls) { DestroyOneBall(ball, delay); delay += SequentialDelay; } }
private void OnMatchFound(BallGridMatchArgs e) { _scoreKeeper.ScoreMatch(e.BallPath); }