EditorGUIUtility.currentViewWidth

public static float currentViewWidth;

Description 描述

The width of the GUI area for the current EditorWindow or other view.