UserInterface2D_DeletePanel - MalisPierre/ModularGame GitHub Wiki

void UserInterface2D.DeletePanel(string PanelId)


Description:

DeletePanel Destroy the specified Panel2D from the Game.


Parameters:

  • String PanelId: The Id of the Panel To Delete

Returns:

  • Void

Code Example:

function CloseDialogPanel()
	Framework.UserInterface_2D.DeletePanel("DialogMenu")
end