This version of Unity is unsupported.

Overlay.Close

Declaration

public void Close();

Description

Remove the Overlay from its OverlayCanvas.

Note that this does not remove an Overlay from the Overlay Menu if it is registered with OverlayAttribute.