public void ApplyScore(int score) { m_CurrentScore += score; UpdateScoreText(); if (score > 0) { m_GreenBulb.Flash(); } else { m_RedBulb.Flash(); } if (OnScoreChanged != null) { OnScoreChanged(); } }
public void ApplyScore(int score) { m_CurrentScore += score; UpdateScoreText(); if (score > 0) { m_GreenBulb.Flash(); } else { m_RedBulb.Flash(); } if (OnScoreChanged != null) { OnScoreChanged(); } }