public void PacmanCollide(Collider2D _pacman) { m_scorer.AddScore(m_scoreVal); m_source.PlayOneShot(m_sound); Destroy(gameObject); }
public void PacmanCollide(Collider2D _pacman) { m_scorer.AddScore(m_scoreVal); m_ghostManager.StartFleeMode(); Destroy(gameObject); }