Unity 2021 UI Button Click Event Tutorial

Поділитися
Вставка
  • Опубліковано 4 жов 2024

КОМЕНТАРІ • 14

  • @ethankontvainis6364
    @ethankontvainis6364 2 роки тому

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

  • @Qurex
    @Qurex 3 роки тому

    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  3 роки тому

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

  • @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 3 роки тому +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..

  • @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?

  • @michaelciantar2674
    @michaelciantar2674 2 роки тому

    How do pass variables into the inspector?

  • @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?

  • @圈圈擦
    @圈圈擦 Рік тому

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

  • @charleslamb6500
    @charleslamb6500 3 роки тому

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

    • @zombizombi
      @zombizombi 3 роки тому

      Are you posting on the wrong video or something?

  • @anmalakhmad4426
    @anmalakhmad4426 Рік тому

    good

  • @makewithmegma
    @makewithmegma 3 роки тому +1

    💕🔥👍