Choosing between Canvas or 2D gameobjects/sprites

Hello,

So I’m currently working on a 2d game with lots of narratives and small puzzle mini games(mainly drag and drop mechanics), the game also should have a sort of pathing and tweening systems.

And I’ve been wondering if I should make the mini games using unity’s UI since it uses the event system and that would make things easier for drag and drop and related mechanics, or normal gameobjects on the scene for easier position manipulation and particle effects.

Small note: during the mini games my camera will be fixed

Is there a recommended way of doing things or more concerns going forward with either approach?
I would love to hear other people’s opinion wether it’s better to use unity’s UI or just normal 2d gameobjects for gameplay,

Thanks in advance

Both approaches have strengths and weaknesses. For instance UI is intended to do UI-like-stuff (text, input, anchoring, etc.), whereas sprites are far simpler and intended to do sprite-like stuff (lots of little independently moving stuff).

Either one CAN do anything however, and you can kind of mix and match as much as you want, either changing between them, or even using both at once.

My advice is to try the simplest instance of what you contemplate (eg, just one of your minigames) and get it fully working in each way, see how it works out for you.

1 Like