You've successfully subscribed to Hacking with Unity - Learn how to create your own games
Great! Next, complete checkout for full access to Hacking with Unity - Learn how to create your own games
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info is updated.
Billing info update failed.

Unity Plugin: Device Simulator


When developing on mobile games, it is necessary to make sure the game is compatible on most of the screen size. Device Simulator is such a plugin or package which can easily show you:

  • Playable area
  • Game looks like under different model (iPhone/Android/Pad)

How to install device simulator

Window → Package Manager, click Advanced → Show preview packages:

Package manager

In the search box search device simulator and in the popup window, select yes.

That is it, the installation finished. Now you can use the Device Simulator in the Unity Project: Window → General → Device Simulator:

You can click the Safe Area to show the green border, the safe area is a feature that restricts the edges of game playable area so that they don't get clipped by the corners or notch (if there is any).