Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


displayOptions

Defines Android display settings that determine how your application renders on the Android devices at runtime.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static AndroidDisplayOptions displayOptions { get; set; }

Remarks

For example, you can use this property to control whether Unity automatically renders the camera output on a secondary screen.
By default, this property enables automatic rendering of the camera output on a secondary screen. The Unity Player renders the camera output in full screen, even when the application is running in the background.
Note: Automatic rendering is supported only on screens that the Android system identifies as the presentation display and when the Target Display is set to
2
in the Unity Editor.