The switch supplies the click. The molded parts decide how that click feels.
A molded button is usually a cap on a stem that slides in a guide in the housing and presses a tactile dome, a microswitch plunger, or a key mat. The switch vendor controls travel and force. The plastic controls everything the user notices besides that: whether the cap rocks, whether it rattles when you shake the product, and whether the gap around it looks even.
Rocking comes from geometry. When the finger pushes near the edge, the stem tilts inside its guide until it touches on two opposite corners. The longer the engagement and the smaller the clearance, the less it tilts. Draft works against this, because a drafted stem in a drafted guide gets looser as it travels, so the fit is tightest at one end of the stroke and loosest at the other.
The stop is the part people forget. If the cap bottoms out on the switch, every hard press goes straight into the dome or plunger and shortens its life. A molded hard stop that lands on the housing just past the actuation point takes the overload in plastic instead.