unity check if gameobject is inside collider

Code Example - unity check if gameobject is inside collider

                
                        if(hitToTest.collider.bounds.Contains(telePosition))
{
   print("point is inside collider");
}