Changing a UI Image When a Button Is Clicked in Unity

preview_player
Показать описание
This video teaches how to use a button to change a UI image in Unity.
Рекомендации по теме
Комментарии
Автор

the confusion has been resolved for a long time

very very thnks

samuelmaticz
Автор

This is a wonderful and easy to catch tutorial. It was hard reach this video tho. I hope you're channel get viral and many would see wonderful your channel is. Thanks you so much!!!

bennyloppo
Автор

I have 2 button Select and Pass. Both buttons if press will bring to next picture all are 10 pictures but for the last picture if press Select or Pass Button I want it to bring to the scene that is a conclusion of all of the player Select from first to last. How can I do that😅

landmask
Автор

Simple and easy to follow. Thank you for sharing it. I have a question if you have the time. If I want to change the image back by pressing the button again, (create a loop between the 2) what must I add or change to the code? Thank you for your time! ^_^

MelkorCozma
Автор

I'm gonna sub. Cause this is the 2nd time you help me hehe.

StroberriBS
Автор

Hello. I know it’s been a year since you’ve done this, but I found it to be very useful. Is there any way to make it so when the button is clicked, it changes between multiple random images after a delay? Like after 10 or so seconds, the sprite image changes after being pressed?

EduardoTorres-gfhi
Автор

Hello! Can i do this with the press of a keyboard key? For example, the "1" key.

ShinyExuante
Автор

Hello i know it's a long time you did this video but is It possible to make Multiple button change the one image with multiple sprites? if yes can you tell me how please? Thanks for everything :D

xysan
Автор

I have 16 images I want to go through. How do I do this same thing but using a next and previous button?

teigencarter
Автор

What would i do if i only want the image changed while the button is held down?

Bluerapids
Автор

How do you do it for multiple images? I tried looking at some of the pervious comments and I still couldn't get it to work. Can you send the code again? Thanks in advance!

brianapierre
Автор

Tell me how can I make a lot of sprites? And to start over from the first (repeat around)

lora
Автор

hi, im making an app about map, and i already make a scroll view for each city name, how to make the City A image glow when the scroll view is on City A, and when the scroll view screen on City B the City B image will glow

FYI : i already have 2 kind of images per city, glow and not glow

ekel
Автор

anyone please paste the change image script here

muhamadazmil
join shbcf.ru