Search Unity

How to make a responsive OnGui function on Android?

Discussion in 'Immediate Mode GUI (IMGUI)' started by aberbary, Aug 15, 2016.

  1. aberbary

    aberbary

    Joined:
    Mar 14, 2015
    Posts:
    2
    I had a little problem with Gui.Label, I did a function with my score points, but I have tested in my dispositive and the format in unity console it's very different in my cellphone display.

    First image : Unity Console.
    Second Image: My cellphone display.
    Third image: Here's my code.
     

    Attached Files:

  2. shawn

    shawn

    Unity Technologies

    Joined:
    Aug 4, 2007
    Posts:
    552
    Any reason you aren't using the new UI framework? This problem has handled much more easily with the UI framework rather than the OnGUI framework.