Photoshop layers to 2D mesh export

I use Photoshop for creating 2D game characters. It would be very useful if Photoshop could create optimized 2D Meshes like the Puppet tool in After Effects, then export them as .FBX or other format recognizable by the Unity game engine. This can be done now with 3rd party Spline program. Mobile game dev requires smallest file size for animations. Meshed based animation of puppets is much better than exporting as numerous sprite sheets