The Device Simulator is a Unity Editor feature that simulates how your application appears and behaves on a mobile device.
The Device Simulator consists of:
The Simulator view simulates many common features of mobile devices, including:
The Device Simulator reacts to the following Player SettingsSettings that let you set various player-specific options for the final game built by Unity. More info
See in Glossary in the same way that a real device does:
If you click on the simulated device screen with the mouse cursor, the device simulator creates touch events in the active input solution (either the Input ManagerSettings where you can define all the different input axes, buttons and controls for your project. More info
See in Glossary, the Input System, or both, depending on your project settings).
Note: The Device Simulator only simulates input when the Editor is in Play mode. The Device Simulator doesn’t support multitouch; it can only simulate one finger touch.
The main purpose of the Device Simulator is to view the layout of your application on a target device and test basic interactions. It doesn’t provide an accurate representation of how your application runs on the device.
The Simulator view does not simulate the following:
Only one Simulator view can simulate at one time. This is the active Simulator view.
The Device Simulator doesn’t simulate all APIs in the simulated classes. For more information, see Simulated classes.