public ShowConsole ( bool show ) : void | ||
show | bool | Whether or not the console should be shown |
리턴 | void |
public void ShowConsole(bool show)
{
_isHidden = !show;
_lineOffset = 0;
_historyCursor = -1;
if (show) {
_disabledControls = GTAFuncs.DisableAllControls();
SetConsoleControls();
} else {
GTAFuncs.SetControlActions(false);
GTAFuncs.EnableControls(_disabledControls);
_disabledControls.Clear();
}
}