This is a paid asset, but now you can download Smooth Flight Control for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Detail this asset from Unity Store: Original Link
Smooth Flight Control v1.2
Smooth Flight Controls OverviewIt’s a drag & drop prefab component for flight movement based on the mouse/tap input from the user on the screen. You can use it for spaceship and aerial combat games. In essence it is similar to flight control used for games like Starfox where the ship player will smoothly move adjusting the roll angle accordingly.
Movement & Targeting
Movement happens while following mouse or tap (if from a mobile device). When an enemy is in front of the ship’s crosshairs it will shoot.
Included in this Package
1) Ship controller to smooth follow mouse/tap prefab
2) Dual crosshairs prefab
3) Laser (projectiles) prefab
4) Sample endless runner scene with enemy turrets and asteroids