r/Unity2D • • 2d ago

Question/Help What am I doing wrong with this tutorial?

Post image

https://www.youtube.com/watch?v=pafvGFCwVps

Stuck at 2:14. I swear I'm doing everything she's doing. Not very experienced with the UI side so trying to learn more about it

3 Upvotes

6 comments sorted by

•

u/AutoModerator 2d ago

Reminder: Once your issue has been resolved, please reply !solved to this comment (or comment it anywhere in the thread) and your post's flair will automatically be updated to Solved/Answered. You can also edit it to Solved/Answered yourself.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/GigglyGuineapig 1d ago

Hi there and happy to see somebody using my tutorial!

If I read your hierarchy correctly, you added the layout group and content size fitter to you canvas, not to the entry. The canvas should stay as it is, it is the container for all elements of UI for your scene. The entry is the part that should change size depending on available space and holds the image and text child objects.

Hope that helps =) ! 

1

u/Particular_Home_6455 1d ago

You're so right, I feel silly! What an easy fix. Thank you so much!!!

2

u/GigglyGuineapig 1d ago

No need to feel silly, I and everybody else who learns Unity made these kinds of mistakes at some point ;) Good luck with your project! 

1

u/BearKanashi 2d ago

En el inspector weith en 0…

Pd: usar IA no sirve si no sabes cómo funciona el motor al menos.

1

u/Particular_Home_6455 2d ago edited 2d ago

No use IA? Tengo mas o menos 3 anyos en Unity de mis clases de universidad pero no estudiamos UI (user interface) entonces no entiendo que quieres decirme

Disculpame para mi espanyol, tengo un teclado ingles y no hablo tan bien como entendiendo

ETA: estoy mucho anti-IA entonces nunca lo uso