Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Device Simulator

Simulate how your application looks and behaves on a mobile device without building to that device.
Read time 1 minuteLast updated 13 days ago

Simulate how your application looks and behaves on a mobile device without building to that device.
The Device Simulator previews screen resolution, orientation, safe area, and device-specific runtime behavior in the Editor, so you can check layout and device-dependent code before you build to hardware.
The following topics explain how to use the Device Simulator, add devices, and extend it with plug-ins.

Topic

Description

Device Simulator introductionUnderstand what the Device Simulator does and which capabilities it provides.
The Simulator viewUse the window that the Device Simulator displays the simulation in.
Simulated classesTest code that responds to device-specific behavior with the classes the Device Simulator provides.
Adding a deviceDefine a new device to simulate and use it in the Device Simulator.
Extending the Device SimulatorCreate Device Simulator plug-ins to extend the functionality and user interface of the Simulator view.

Additional resources