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