Unified handling of hit events.