Posted August 17, 2023 by KWYume
#Development #touchscreen #Joystick #moblie #Inputsystem
Bugs or Develop. I am not sure which I should put it in.
1) input method
2) UI joystick
After knowing I could use the Unity Input System and a virtual UI joystick to simulate an input when on a mobile device, I started working on it immediately.
Firstly, install the "input system" package. Bring up the Package Manager from the top menu bar - Window > Package Manager, select Packages: Unity Registry, and look for "Input System". Install the package to use it.
Then, add an input action to your asset. At the Assets window, left mouse click, Create > Input Actions.
A new window appears, and you can create the Action Maps and Actions here.