Unity Button Tutorial
AIA AIA
112K subscribers
42,305 views
1K

 Published On Aug 13, 2021

It's hard to think of any game that's worth mentioning which doesn't make use of buttons. Whether they're being used to navigate around menus, between scenes, to buy items at shops, count clicks, or progress dialogue, buttons are a cornerstone in video games. In a previous video, we went over how to create UI in unity. In that video, we created some buttons but didn't talk much about the button component or assign any functionality to them. In this video, we'll detail the button component and create two different functions for our buttons, one to change scenes, and one to quit.

► Socials
Twitter:   / the_real_aia  
Discord:   / discord  
My free web games: https://aiadev.fun/

► Get the script: https://unicornone.gumroad.com/l/butt...

► Unity UI Tutorial:    • Unity UI Tutorial | An introduction  
► Button Navigation:    • Controller and Keyboard Menu Navigati...  
► Download Unity 3D: https://on.unity.com/3cbxhXY

For more educational content on video game development, unity tutorials, and c# programming don't forget to subscribe!

Chapters:
0:00 Introduction
0:41 Understanding the button component
2:27 Creating a C# script with button functions
4:50 Assigning Button OnClick functions
7:20 Testing the buttons
7:44 Outro
········································­­·······································­·­····
****
Get a 90% discount on a .fun domain for one year on https://www.get.fun using the coupon “AIA”
****


#unity3d #unitytutorial #gamedev

show more

Share/Embed