Summary

In this chapter, you learned how to switch to the Android platform, and how to build and test our game on a mobile device. After testing it, we stated different issues prompted by the mobile platform switching.

After correcting the autorotation, back button, character movement, and right-click issues, we implemented touch-and-hold features with visual feedback for the player.

This touch-and-hold feature is used for two different actions; displaying the elemental switch UI and making in-game widgets draggable, allowing the player to customize their user interface as they want.

Once all issues were corrected, you learned how to configure and use Unity Remote to avoid rebuilding the game after each modification. We also had a peek at the profiler's functionalities and enabled it to record data directly from our device. You use this to optimize the game and fix performance issues. Finally, we discovered how to retrieve debug logs and errors from the device using locat from Android Debug Bridge.

Now that we have switched to a mobile platform, we can talk about screen sizes and aspect ratios in Chapter 9, Screen Sizes and Aspect Ratios.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.15.176.80