GUI.SetActive

OpenTuring

GUI.SetActivePart of GUI module

Syntax   GUI.SetActive (widgetID : int)

Description   Makes a text field specified by widgetID active. If the text field is not in an active window, then the text field will become active when the window does. If another text field was active in the window, it is deactivated.

Example   See GUI.CreateTextFieldfor an example of GUI.SetActive.

Status   Exported qualified.

This means that you can only call the procedures by calling GUI.SetActive, not by calling SetActive.

See also   GUI.CreateTextField.