Version: 2021.2
public static int width ;

描述

This has the same functionality as Screen.width and also mimics platform-specific behavior in the Unity Editor.