@vaartis @pipivovott You are technically correct.
Every object, even the UI elements are 3D (which was very useful in a VR project I did once, Unity's UI is by far the best).
That being said, there are built-in components such as 2D colliders, tile maps, platforms, etc... for 2D projects.
For a 2D project, Unity is a bit overkill, and I would not recommend it for small 2D mobile because it comes at a pretty significant memory cost.
An empty scene with literally nothing in it will compile into a 40MB APK last I checked.
Unity doesn't present any barriers for 2D development.
That being said, the two Ori games are made in Unity.
And so was Hollow Knight.
@vaartis @pipivovott Unity has a pretty good learning curve compared to some others, while being good for both 2D and 3D.
Easy for devs, difficult for artists and FX techs.
As it is harder to make it look good.
Unreal is more performant but lacks good 2D tools, and the learning curve is harsh.
Unigine has Unity's workflow and Unreal's performance, but no UI editor, and even less 2D capabilites.
Stride and Flax are getting better, but each have their own issues, and compared to the big two, they are less mature.
While there are easier engines to pick up, those simpler engines are also restricting in many aspects.
Which is why starting from scratch, I would recommend either Godot or Unity.
I draw, code, and make memes sometimes.