setPlayerSurface

fun setPlayerSurface(surfaceHolder: SurfaceHolder?)

Sets the primary rendering surface of UnityPlayer.

Parameters

surfaceHolder

SurfaceHolder to set as primary surface. Set to null to detach the primary surface.