Exemple #1
0
 protected override void OnOutBounds()
 {
     if (CalcObject.IsOutBounds(transform))
     {
         Destroy(packet);
     }
 }
Exemple #2
0
 protected virtual void OnOutBounds()
 {
     if (CalcObject.IsOutBounds(transform))
     {
         RePoolOrDestroy();
     }
 }