HideGUI

Definition

HideGUI(string guiName)

Description

This function hides the GUI guiName.

Parameters

guiName
Specifies the GUI name.

Example

function OnTriggerEnter(otherActorName)
    HideGUI("gui_SampleGUI17_MainMenu")
end

function OnTriggerStay(otherActorName)

end

function OnTriggerExit(otherActorName)

end
Assume that the above script is attached to a trigger named “trigger1”. Whenever the main character or a prefab instance that has dynamic physics is entered into this trigger, the “gui_SampleGUI17_MainMenu” GUI will be hidden.
adminHideGUI