We've got a few small parameters that should be configured right now before we start testing the game on the device.
You can download the entire project with progress to this chapter, already switched to the Android platform at http://goo.gl/kQSSDo.
You will have to import or copy and paste your NGUI
folder in the project's Assets
folder as NGUI sources aren't included due to legal reasons.
First, we'll activate the Content Height
and Width
's Fit
option on the Menu
scene's UI Root
:
Menu
scene.UI Root
GameObject.Content Height
and Width
options' Fit checkboxes.By forcing the UI to fit the screen in both width and height, we'll make sure that the UI is resized even if the device changes orientation from landscape to portrait.
We've finished preparing the project; let's see how we can test the game on the device.
3.14.252.56