Unity Software shares surged after the company announced preliminary results above expectations, and said it's making some big changes to its business.