Both. Why not give the possibility to unlock some ships by achievments, and some others by activating them in game? :D