Please could anyone help me with android controls? I’m doing “Section 3: Project Boost” but I decided to be a little adventurous and deviate slightly from the instructions. I wanted to make my game for Android where I could tap/hold my finger on the screen to fly and tilt my phone to make the rocket rotate.
To do this, I imported the new input system package and used the following code…
I have been using the Unity Remote 5 app on my phone to test my game and I was really pleased to find it all worked perfectly. Tapping/holding my finger on the screen causes the rocket to fly and tilting my phone causes the rocket rotate. However, now that I have built the game into an APK file and installed it on my phone, I have found that the controls no longer work at all. Nothing happens when I touch the screen or tilt my phone. Very disheartening
Please can anybody help me fix this?