Unity CEO resigns