Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CaptionBar

Represents the area of the screen the caption bar occupies at the top of the application window.
Read time 1 minuteLast updated 7 days ago

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.