private void OnCollisionEnter(Collision collision)
 {
     if (IsInLayerMask(collision.gameObject, m_destroyObjectOfType))
     {
         DestructorCall.TryToDestroy(collision.gameObject);
     }
 }
 private void OnTriggerEnter(Collider other)
 {
     if (IsInLayerMask(other.gameObject, m_destroyObjectOfType))
     {
         DestructorCall.TryToDestroy(other.gameObject);
     }
 }