Unity 4.6 - How to scale GUI elements to the right size for every resolution

后端 未结 5 464
不知归路
不知归路 2021-01-30 17:30

The new Unity 4.6 comes with a new GUI, when I change de resolution on Unity the UI Button scales perfectly but when I test on the Nexus 7 device the Button looks too small. Any

5条回答
  •  借酒劲吻你
    2021-01-30 18:07

    The Reference Resolution is now renamed as Canvas Scaler.. Along with the renaming they have added many more features for the dynamicity of the Canvas. You can go through the Unity Doc of Canvas Scaler and also take a look at this article for a practical example of how and why to use Canvas Scaler. Also make sure you use the Anchor Points to good effect to make this more robust...

提交回复
热议问题