Тёмный

Unity Tutorial For Beginners - Button and TextMeshPro using Unity 2021 

Painless Programming
Подписаться 3,1 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@cl2401
@cl2401 28 дней назад
thank you thank you. Helped me a lot
@PainlessProgramming
@PainlessProgramming 28 дней назад
Happy to hear it. Thanks for commenting.
@GonzaloMillapinda
@GonzaloMillapinda Год назад
Thank you so much!! I Just needed how to attach a method to the PressedButton event and I wasn't able to find no one decent tutorial in web pages... you video give me peace one more time haha
@bidogo
@bidogo 11 месяцев назад
This is great :D Thank you for the video!
@tiwagchronicles2789
@tiwagchronicles2789 Год назад
Thanks :D
@mariegrasmeier9499
@mariegrasmeier9499 Год назад
Thank you for the great explanation ❤ One question: why didn’t you attach the Skript to the Text but to the button instead? It would make the reference to the Text unnecessary. Is there any downside to that solution?
@PainlessProgramming
@PainlessProgramming Год назад
Good question. There would be no downside to attaching the script to the button. In fact, a pretty common way to do it would be creating an Empty object and rename the GameObject something like GameManager and attach the scripts to that object instead of the button or text.
@alyssafaden9443
@alyssafaden9443 Год назад
I'm going freaking nuts here. I chanced across your video, because I Just - can - not - get - the - function - to - show - as an option. Got a script, have the function as a public void, attached the script as a component, slid it into the onclick event ... look in the function list: nothing, just "no function and monoscript. I've tried saving and shutting down/restarting the project, creating new buttons, using a manager instead, checked that nothing is disabled/inactive ... but this onclick just WILL NOT see anything inside the script. Like: nothing. I've even tried moving my code to new classes ... like ... ughhhhhhhhhhhhh
@alyssafaden9443
@alyssafaden9443 Год назад
AH! got it. I was dragging the SCRIPT onto the onclick event, and apparently it needs to be an asset that gets dragged onto it.
@PainlessProgramming
@PainlessProgramming Год назад
@@alyssafaden9443 Glad you figured it out.
@GaryChike
@GaryChike Год назад
Very nice overview of a simple Unity project creation!
@PainlessProgramming
@PainlessProgramming Год назад
Thanks!
Далее
На самом деле, все не просто 😂
00:45
Creating Flashcards in Unity
19:10
Просмотров 1,7 тыс.
Unity   Switching Between Multiple Scenes
8:03
Просмотров 4 тыс.
Git Tutorial For Dummies
19:25
Просмотров 1,2 млн
The Most Fundamental Concept in Unity
9:50
Просмотров 54 тыс.