How to make a menu in Unity - UI Tutorial

preview_player
Показать описание
Your user interface will be the first thing your players interact with when entering your game. Ensure your UI is reliable across different resolutions and aspect ratios.

Better yet, make the menu FUN to navigate, instead of just a required element in your game.

!! Somebody pointed out UI buttons actually have a "Sprite Swap" feature !!

Subscribe if you learned something ;)

=========

00:00 Intro & scene setup
00:30 Creating your first UI element
01:20 The Rect tool
01:45 Anchoring elements into position
03:35 Filling the screen with an image
04:15 Adding images to the UI
05:20 Expanding images without stretching
07:15 Adding text using TextMeshPro
08:40 Custom fonts in Unity
09:50 Styling the text
10:25 Adding buttons the menu
11:30 Scaling the canvas with screen size
12:20 Adding click events to Unity UI using IPointerDownHandler
15:00 Scrolling background using Raw Image
16:40 Ordering UI elements
17:30 Animated side menu
21:40 Animation state machine
24:43 Adding anchored decorations
Рекомендации по теме
Комментарии
Автор

Just 5 minutes in, and this is the best explanation of Unity UI I've ever seen. You have a unique talent for explaining complex topics. Thank you for making this!

windup
Автор

Man.. Just spent a week trying to make a UI for a game project.
Never launched Unity or used code before. I HATE YT algorithm for not showing me this.
Hands down the most informative and easy to follow along to. Thanks!!

jumpingman
Автор

Great UI tutorial! Covers all of the basics you need to get started, and you do so quickly without any overdrawn explanations that become boring and unnecessary. Straight and to the point.

Briglair
Автор

I'm a very detail oriented person, and I mean very. I absolutely love your explanation on absolutely everything that's going on, love your videos. Definitely inspires me to get back into Unity again lol

thatrandomgamedeveloper
Автор

I knew looking through my subscriptions for UI tutorials was a good idea. I appreciate it mr tarodev, this seems like a good starting point.

verbatim
Автор

I have an assignment due in about a week, and your tuts are absolute lifesavers, thanks ❤️

sofialpaca
Автор

Best tutorial ever! I ignored my kids to watch this video on my phone knowing full well I'd just need to watch it again later when I actually sit down to follow it.

Don't worry, I bribed my kids with pancakes first. Cleaning up a syrup mess is an easy price to pay if I get to watch more juicy Tarodev content 😂

narkopraxis
Автор

Hi, this is great tutorial on UI. Please continue in more complex UI controls like sliders, option boxes, etc.

beavisCZ
Автор

Around 9:10
Quick tip: You can create the font asset quickly with the Ctrl-Shift-F12 keybind.

absolutewisp
Автор

I was screaming when I see the -1 speed animation. Great tutorial, I literally feel immortal!

anlozge
Автор

Thank you man so much, you really help all the early generation of coders. Once again, Thank You!

mufaddalrasheed
Автор

The best tutorial about UI creation in Unity i've ever seen. You are amazing)

DmytroSkorobohatskyi
Автор

You nailed it! Your instructions is very clear and easy to understand.
I'm a Unity beginner and your tutorial make me feel confident with it.
Thank you very very much.

vuanh
Автор

This step by step video reflects and answers upcoming obstacles and questions while building UI. Very well structured!

halivudestevez
Автор

so far, the absolute best vid on Unity UI I have seen.

raxacoricofallapatorius
Автор

You never miss! You're getting a shout out when/if I ever release anything

alexgeeves
Автор

Thank you so much for your awesome video! I like your concept of splitting animation and logic into own components. I tried today in actual project and I like it very much! It also makes animations reusable!!!

rickloyd
Автор

I nearly give up until i found this video, you are my life saver

muhammadrizkyramadhan
Автор

I'm so glad UI toolkit exists now. Making UI like this feels like smashing rocks together. Using a web dev like experience for UI is so much better.

andrewallbright
Автор

Amazing video, don't understand why it take me sooo long to find it!! <3

luenciso