Search Unity

Asus ROG 2 Twin View

Discussion in 'Android' started by satchell, Oct 9, 2019.

  1. satchell

    satchell

    Joined:
    Jul 2, 2014
    Posts:
    107
    Hi, I have the TwinView Dock for the Rog phone 2 and have been trying to access the 2nd screen unsuccessfully using the Display script here https://docs.unity3d.com/ScriptReference/Display.html.

    I tried to string the length but result is always 1 with this. Side question regarding the Length of the displays. It starts at 1 for the first display correct? Or 0?

    displaysText.text = Display.displays.Length.ToString();


    Been searching for ROG+Unity but nothing really helpful. If anyone has experience and success with split screen on mobile or specifically the ROG TwinView would greatly appreciate some guidance.

    Thank You-
     
  2. chips

    chips

    Joined:
    Nov 30, 2007
    Posts:
    138
  3. satchell

    satchell

    Joined:
    Jul 2, 2014
    Posts:
    107
    So I went through several iterations with unity's Display and did a few with Android Studio with no luck. I'm even having issues with the Pixel using the Simulated display so thinking it's user error on my part via android. On windows it works as expected.

    It's possible ROG Phone needs to be android 10, it's only 9 currently. And the Asus forums really didn't look like it had a section to ask.
    I haven't touched it in a few days but I plan to update this if I get something.
    https://developer.android.com/guide/topics/ui/foldables.
     
  4. chips

    chips

    Joined:
    Nov 30, 2007
    Posts:
    138
    Thank you for your answer @satchell! Apparentelly you need to have a specific SDK from ASUS to make the dual screen work on ROG PHONE 2. I wish we could have a feedback from @UnityMaru , maybe... Or anyone from Unity.
     
    satchell likes this.