Hi everyone, I am extremely new to coding in general( I started 3 days ago) so sorry if something is obviously wrong. I followed Jonas Tyrollers second tutorial on youtube to create a 3d ball racing game and I would like to control the movement left and right with a touchscreen. I have tried adding buttons but they never work. Every online tutorial I have seen have completely different movement scripts. Could anyone give me some direction?
This is my current movement script.
- General Discussion is not a support forum. Please think about where you post your questions.
- If you post code, please do this way: https://discussions.unity.com/t/481379
- Why do you think the touchscreen needs any keycode? What key the touchscreen is?
Try this way:
Ok, thanks for the help! I better remove the post!