Version: 2023.1
public static float currentViewWidth ;

描述

The width of the GUI area for the current EditorWindow or other view. This Property should only be accessed within an OnGUI call.