public void Unregister(Asteroid asteroid) { m_Asteroids.Remove(asteroid); asteroid.OnHit -= OnAsteroidHit; }
public void Register(Asteroid asteroid) { m_Asteroids.Add(asteroid); asteroid.OnHit += OnAsteroidHit; }