文档

Unity Engine

Unity Engine

minSize

The minimum size of this window when it is floating or modal. The minimum size is not used when the window is docked.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public Vector2 minSize { get; set; }

Remarks

An EditorWindow can be resized. The EditorWindow.minSize variable provides the minimum width and height that is supported. This is typically a Vector2(100,100).