文档

Unity Engine

Unity Engine

CaptionBar

Represents the area of the screen the caption bar occupies at the top of the application window.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
CaptionBar = 4

Remarks

The caption bar contains the window title and the window controls. It only appears when the application window is displayed in a freeform or desktop windowing environment, and is empty otherwise.
The system controls the visibility of the caption bar, so including this value in PlayerSettings.Android.requestedVisibleInsets has no effect. Use PlayerSettings.Android.requestedOverlappingInsets to control whether your application window extends behind the caption bar.