unity-game-enginebolt

onbuttonclick - Unity with Bolt


I am using Unity with Bolt visual scripting and having some issues. I have a 2d Mobile App and basically what I want to do is when the user touches a sprite it starts spinning on every axis. Although I am able to achieve it without the user touching the sprite from the update function.

I want to achieve this through the touch in mobile. How can I do this? There is no on-button click.


Solution

  • Well, I solved this by making a button and changing its image from the source image to a particular shape .png and then I was able to perform on Click Function.