[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/PlayerSettings.Android-displayOptions.html [Back]  [Original]

Unity - Scripting API: PlayerSettings.Android.displayOptions
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    PlayerSettings.Android.displayOptions

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Switch to Manual
    public static AndroidDisplayOptions displayOptions;

    Description

    Defines Android display settings that determine how your application renders on the Android devices at runtime.

    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.


    Web Proxy Viewer  |  New URL  |  Original Page