Exemple #1
0
        public override void OnCollision(BaseGameObject other)
        {
            if (other is Asteroids)
            {
                return;
            }

            Destroy();
            other.Destroy();

            new Asteroids();
            new Asteroids();
        }
Exemple #2
0
 public virtual void OnCollision(BaseGameObject other)
 {
 }