A Unified Model for Tidal Disruption Events