Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Button and joystik for mobile game

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

  1. DEVIOSANT

    DEVIOSANT

    Joined:
    May 5, 2021
    Posts:
    1
    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: