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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Problems with UI Elements on Mobile

Discussion in '2D' started by Deleted User, May 6, 2015.

  1. Deleted User

    Deleted User

    Guest

    Hello,

    im developing a 2D game for mobile, and have some problems.

    I create a canvas for my scenes (main menu, 1st stage and game over menu), and add some images and text to make a HUD, or to make buttons for menus. I have adjust the anchors of each element like i watch in some videos, and when test on Unity its fine, BUT, when I build an apk for android and test on my phone, the hud images appears small, the buttons of menu is right, but the text inside this button are small too.

    anyone has a good link, or video to explaim how can i make a good hud and menus for any platform or resolution please.

    thanks
     
  2. DrowningFish

    DrowningFish

    Joined:
    May 6, 2015
    Posts:
    12
    Select your canvas > in property panel > change the scaling to scale with screen size / other option. The solution is within there, you probably have to resize your buttons / text again if your screen resolution is set to FULL HD or something.

    I encountered this problem before and solved by changing the options in canvas there.

    Good luck.
     
  3. Deleted User

    Deleted User

    Guest

    awsome!! thx a lot! it worked!!