Пример #1
0
 private void OnCollisionEnter2D(Collision2D collision)
 {
     ObjectsPool.AddObjectToPool(this);
 }