Version: 2022.2

Screen.currentResolution

切换到手册
public static Resolution currentResolution ;

描述

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