Unity 2021 UI Button Click Event Tutorial

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 14

  • @ethankontvainis6364
    @ethankontvainis6364 2 года назад

    this was incredibly helpful and required little to no tweaking for my project keep up the great work.

  • @DextraVisual
    @DextraVisual Год назад

    When I try this, it starts with the close animation. So the game starts with the box closing and stays closed until I hit open.

  • @achikarif1098
    @achikarif1098 2 года назад +1

    Hye.. Thanks for the tutor.. I have a question.. how do we setup raycast system on player camera so the ui button clickable in 3d environment for info to pop up or something.. I'm new in programming and cannot figure out how raycast work..

  • @Qurex
    @Qurex 2 года назад

    You should change the localization of the buttons for the canvas to stay in the left bottom corner and not in the center. This way the buttons will stay in the corner if you change display from full screen and so on...

    • @JayAnAm
      @JayAnAm  2 года назад

      Yes, I know, just wanted to focus on the event binding and stuff, but thx for pointing it out.

  • @paulkruger4156
    @paulkruger4156 Год назад

    What do you do when you do all of that, but nothing happens when you click the button!

  • @lhit6795
    @lhit6795 Год назад

    my on click event looks different and i dont know how to use it! can you make a video for the latest version of unity?

  • @user-ii3fd2ui4z
    @user-ii3fd2ui4z Год назад

    請問一下能一個按鈕同時開跟關嗎

  • @michaelciantar2674
    @michaelciantar2674 2 года назад

    How do pass variables into the inspector?

  • @anmalakhmad4426
    @anmalakhmad4426 Год назад

    good

  • @andreasgolla6335
    @andreasgolla6335 2 года назад

    Great Work! Thx for sharing. Is it possible to add the button function as buttons integrated into the 3d object for a real gaming feeling or use it as an object inside a metaverse? Like you can move in the scene and trigger the button and the animation inside the game?

  • @makewithmegma
    @makewithmegma 2 года назад +1

    💕🔥👍

  • @charleslamb6500
    @charleslamb6500 2 года назад

    Dear Mr. Jayanam, I use jbake tools, it just works, now my bakes are very nice, and it finally makes sense

    • @zombizombi
      @zombizombi 2 года назад

      Are you posting on the wrong video or something?