Documentation

Unity Engine


Unity Engine


currentViewWidth

The width of the GUI area for the current EditorWindow or other view. This Property should only be accessed within an OnGUI call.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static float currentViewWidth { get; }