RAGE.Ui.HtmlWindow.Destroy

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Syntax

void HtmlWindow.Destroy();


C# Syntax
C.png

HtmlWindow CEF;

private void openUI() {
    CEF = new HtmlWindow("package://cef/index.html");
    Rage.Ui.Cursor.Visible = true;
}

private void destroyUI() {
    CEF.Destroy();
    Rage.Ui.Cursor.Visible = false;
}