2D tree animation

Hello,
I would like to create this type of 2D effect in unity. can anyone tell me what is the best way to do this? I’m new to Unity and animations. any suggestions appreciated.
Thanks.

You mean to have the character move between trees? You could have 3 layers
-Background
-middle
-Foreground
background art then the character layer then the foreground tree layer. My idea at least.

You could use Anima2D, It’s free on the asset store and it works great. What you would do is a trigger check to see if a bird or another object touched the tree and if so, you would change the rotation of the bones of the tree depending on the speed.

I tried doing this myself (I didn’t have any previous experience with Anima2D, so this was the perfect opportunity for me)

GIF LINK

If you don’t really know what to do with this information and you are a beginner I don’t really recommend on using these techniques, but I’dd still be more than happy to elaborate if you wanted.