Unity Device Simulator

2022/12 26 11:12

https://docs.unity3d.com/Packages/com.unity.device-simulator@3.0/manual/index.html

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