public void changeMessageState() { if (errorMessage.enabled) { errorMessage.enabled = false; } else { errorMessage.enabled = true; } KeyImputManager.changeLockState(); }
private void showErrorMessage() { errorMessage.enabled = !errorMessage.enabled; KeyImputManager.changeLockState(); }