Search Unity

Android SurfaceView overlay Unity Camera image

Discussion in 'General Graphics' started by ASDFD12, Jan 20, 2018.

  1. ASDFD12

    ASDFD12

    Joined:
    Nov 16, 2016
    Posts:
    1
    I have Android library that render into SurfaceView. How I can embed this SurfaceView into Unity that image from this SurfaceView will be render overlay unity camera1 with depth = 1 but before unity camera2 with depth = 3 . I founded method of UnityPlayer
    public boolean displayChanged(int var1, Surface var2)
    but it don't work.
    Have any idea?