Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
232いいね 11,189 views回再生

The Unity Button Tutorial | How to setup, add OnClick method by script and more

This tutorial teaches you: how to set up a button in Unity from scratch, assign functionality for On Click per script or the inspector, understand how to setup different transition modes for using Sprites and more and find out how to solve the issue of players not being able to click on buttons!

💬 Discord 💛
You are very welcome to join!   / discord  

🛍️ Affiliate links 🛍️
If you'd like to support my channel, please use my affiliate links when buying cool stuff:
My favourite assets I install by default into every project: https://assetstore.unity.com/lists/hi... [affiliate]
Unity Asset Store: https://assetstore.unity.com/?aid=110... [affiliate]
Synty Store: https://syntystore.com/christinacreat... [affiliate]

🌟 Need help with your project's UI?🧠
I have been a designer for more than 15 years, a teacher for three and I offer paid consulting for your project! You can find all the information here:
https://www.vennegerts.com/gamedevelo...
I am looking forward to hearing from you 💛


📖 Chapters
00:00 What we will tackle in the Button tutorial
00:38 How to create a button in the inspector
02:41 The button component
03:14 Button Transition: Color mode
04:53 Button Transition: Sprite mode
05:42 Button Transition: Animation mode
06:12 Navigation
06:37 How to setup a method for button click
07:55 How to setup a method for button click by script
09:33 How to change transition settings through script
10:50 What to do when button does not react
11:47 Optional: The Event Trigger component


🎮 Play my games on Itch.io 🎮
https://christinacreatesgames.itch.io

コメント