I think I figured it out. In 2D mode you can just select all the images inside unity and drag them into the scene view and unity will prompt you to save an animation.