文档

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

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