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 2 months ago

Definition

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