(Android) mUnityPlayers SurfaceView Access

The UnityPlayer variable mUnityPlayer has a private SurfaceView variable which I assume stores the view that unity is rendering the game to.

I would love to be able to have access the it.

Does anyone know of a way?

@davidmurdoch

Sort of?

Unity renders to Framebuffer0 for its final output.
Whatever is in Framebuffer0 should be what you want to access.

It would be nice to get to the actually SurfaceView Unity uses.

I tried defining a new one in a child class to attempt to override/hide Unity’s but that was met with very little success.

What are you trying to accomplish?