The Device Simulator is a Unity Editor feature that simulates how certain aspects of your application will appear and behave on a mobile device.
The Device Simulator consists of:
- The Device Simulator view, which lets you view your application on a simulated mobile device
- Simulated classes, which let you test code that responds to device-specific behaviors
- Device definitions, which describe the device to simulate
- Device Simulator plugins, which configure the UI of the Device Simulator view
打开方式为 Window / Generate / Device Simulator