I tried Click Event, and all the Events from Event Trigger Component, i can`t figure out how to make my 2D character walk when i hold the button, it just walk for a click, i`m using Rigidbody.AddForce, if i click a lot of times the Virtual D-Pad it walks, but i want it to be continuous, my script is not wrong because using WASD it work if i just click or hold down, but with the UI Button it just detect the click not if i hold.
↧