displayChanged

abstract fun displayChanged(displayId: Int, updatedSurface: Surface?): Boolean

Called when the display configuration changes.

Return

True if the Unity Player can handle the display change, false otherwise.

Parameters

displayId

The ID of the affected display.

updatedSurface

The updated surface for rendering, if applicable.