Unity Tutorial: Open Panel on Button Click

preview_player
Показать описание
This is an answer to a request for Unity game development, on how to open a UI Panel when a Button is clicked.

I show this example and also how to toggle the visibility of the Panel.

See my social profiles here

Рекомендации по теме
Комментарии
Автор

Some people trying to help but they made my mind more complicated. But you are amazing with brief and perfect telling, thank you so much. <3

AobaSanJin
Автор

for anyone who use that for a pause menu and want freeze time u have to add under Panel.SetActive(true);
Time.timeScale = 0f;

TalahuhnToGo
Автор

I have been searching through various Youtube tutorials regarding this problem and finally I found this video .Simple and concise. Thank you Guru!!!!

husseinal-faiz
Автор

Everyone tries to make their video longer with like 1000 annoying steps but your a pro, unlike them.

bmwlux
Автор

THANK YOU!!! Simple, easy, exactly what I needed.

JacobLofgreen
Автор

i love you bro! i've been watching a couple videos and none of em work, but yours does !

imdublin
Автор

Waah sir, i have been searching for this simce 2 dayss, Finally i found it❤️❤️

hemanthc
Автор

Super helpful with an excellent teaching style. SUBSCRIBED!! Please make many more!

kevinburgess
Автор

Sir when we click to gameobject old gameobject want off and new gameobject on sir pls reply 😅😅😅🙏🙏🙏🙏🙏😩😩😩😖😖😖

yogeshkhandelwal
Автор

this one fixed my issue like "BAM"!!!

freeju
Автор

can you please help me . i just imported the obj to unity . Now what is want is that ..thr is a picture on a wall and i want a button next to it and on click it should display a popup with some text.

TechnoPhiliaa
Автор

So simple for toggling panels my code was all working but this is nice and clean switched all them now lol

zandmunimdesignanddevelopm
Автор

thank you for the brief helpful tutorial, just what I needed

samarthrao
Автор

Thank you! Saved me multiple minutes/hours!

lyth
Автор

thank you.. this tutorial is easy to follow and very helpful

allancabilestoc
Автор

The video is so clear. However, when I try even the first step, I seem to be able to click the button, but then the panel does not appear. I have Event Systems in my hierarchy, my canvas has a graphic ray caster, and I do exactly what is explained here. I'm a bit desperate at this point, would anyone have advice?

IcelandicCello
Автор

Thanks, simple and easy! As a beginner this helped me a lot :)

Bonsaiwurzel
Автор

This was amazing, but i have on question how do I close the panel?

Parpleyt
Автор

Hi sir,
I have created two buttons and added panel to it
When i press button 1 it open panel and when i click second button it's still showing 1st button panel on
How to hide previous panel automatically when we are in 2nd button panel

hemanthteja
Автор

For some reason Unity editor will not let me drag the Panel in to the Inspector :(

paulkruger