Exemple #1
0
 public void OnOutOfBounds()
 {
     offscreen = false;
     GameObjectUtilities.Destroy(gameObject);
     if (DestroyCallback != null)
     {
         DestroyCallback();
     }
 }