How To Move with UI Buttons in Unity
Вставка
- Опубліковано 13 жов 2024
- In this video of Unity, I will show you how to make your character move in Unity 2D with UI buttons.
SCRIPT:
► pastebin.com/d...
SOCIAL:
► Twitter: / jadtrugaming1
► Twitch: / jadtrugaming
► Teespring: jadtrugamings-...
If you enjoyed the video make sure to like and subscribe
i have a question what did u drag at 10:02 to player bcs we cant see that
Ok sorry for the late reply but I dragged player model
The audio is a bit delayed next video it will be fixed
@@saefawad5831 idk why telll plssss
This video finally made me understand the idea of assigning the functions to buttons from a script attached to the player object. Thank you!
For 3 days I have been trying to add screen buttons and it did not work... Thanks to your simplified explanation with a script, the method worked... Thank you from the bottom of my heart... You are the best 🤩🤩💕💕
Yes!! It’s very easy👍
Thank you very muuuuuchhhhhhhh!!!!!! I never understood why when I was making my buttons they were always on "On click" mode. Thank you now I can complete my game to put on the Play Store!
after watching this tutorial i feel confident in writing this code by myself, Great video
how did u add the function move.PointerDownLeft in EventTrigger in LeftButton ? You cut that part from the video
Thanks for this , it really helped me alot in making may game alive.
The method of assigning functions values to the button alowed me to interact with buttons.
I found your video really helpful ,
Thanks again for this.
Thank you brother its so helpful for me..i hope you more success in your life
i tried using chatGPT but he was to dumb but this turtorial helps me very much thanks
I spent over an hour writing this code. And with over many error messages. I realized that you made a pastebin, whyyy
lol
How can I flip my character sprite?
Thank you for the tutorial, really help me for my final project :)
Thank you dude for this♥️
Hi great tutorial, I wanted to ask you I did everything as indicated the procedure, the keys work but when I click on one of the two buttons the player moves quickly and does not stop if I leave the button I ask for help thanks
There is the code in the description so try that
And maybe you did not do the on pointer down to the onclick
@@Jadtru Thank you so much for the availability, I resolved do more videos of this series, I hope they are fantastic, you should make videos about the progress of the game, the levels, the enemies, bonus objects while the player walks, I hope thanks again
Can This work in mobile game
It can work with any device with touch
I can't see the codes, write it as an answer from the comments section of the codes
The code is in the description
useful video. Thanks
thanks u. u saved my life
wow thanks soo much a new subscriber is me!
Good job matey!! Thanks a lot!
thanks really appreciated
thank you so much i love you
Sweet
thx
Thank you so mach ❤
man you smart
thanks bru
Thanks
Thank you
nice video
nice
Thanks