Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Button and joystik for mobile game

Discussion in 'Input System' started by DEVIOSANT, May 7, 2021.



    May 5, 2021
    I edited this platformer and uploaded it to the apk file for android. But after downloading the platformer to the phone, I realized that there are no buttons to control the player. When in unity, you control the player using the space bar and the left and right arrows. How to create buttons for android in this 2D Platformer Microgame template ? After all, the player control script comes ready with a template, and I don't understand how to apply it to the buttons or the joystick. I can add buttons or a joystick, but they are not active. Help who knows. Thanks!

    Attached Files: