A 26-year-old Edinburgh pedestrian is in a critical condition in hospital after being hit by a car in Stenhouse last night.