public void OnDestroy() { if (pysicItem != null) { pysicItem.Destroy(); } }
public void OnDestroy() { if (pysicItem != null) { pysicItem.OnCollision -= OnCollision; pysicItem.Destroy(); } }