예제 #1
0
 public void DetachAsteroid(Asteroid a)
 {
     Debug.Log("Detaching an asteroid from chunk");
     asteroids.Remove(a);
     a.region = null;
 }
예제 #2
0
 public void AttachAsteroid(Asteroid a)
 {
     // Debug.Log("Attaching an asteroid to chunk");
     asteroids.Add(a);
     a.region = this;
 }