Example #1
0
 public void OnDestroy()
 {
     if (pysicItem != null)
     {
         pysicItem.Destroy();
     }
 }
Example #2
0
 public void OnDestroy()
 {
     if (pysicItem != null)
     {
         pysicItem.OnCollision -= OnCollision;
         pysicItem.Destroy();
     }
 }