Documentation

Unity Engine


User Manual

Script Reference

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 4 days ago

Definition

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