Simpler mesh over distance

I’ve seen that in some games geometry of objects change to a simplified version if you are far from them. Question is does unity do that automatically or is there a built in function for that or should i just switch the mesh of the mesh renderer manually? And do i need to produce the simplified mesh myself?