- Home /
Question by
RandomVideos · May 25 at 06:35 PM ·
input
multi tap not working new input system
When you click it is triggered twice, when you hold it is triggered 4 times
public void DashW() { Dash(Vector2.up); } public void DashA() { Dash(Vector2.left); } public void DashS() { Dash(Vector2.down); } public void DashD() { Dash(Vector2.right); } void Dash(Vector2 vector2) { Debug.Log(vector2); rb.AddForce(vector2*1000); }
alt textge/temp/196724-screenshot-2022-05-25-075048.png
screenshot-2022-05-25-075048.png
(29.8 kB)
screenshot-2022-05-25-075143.png
(58.8 kB)
Comment