public bool wasCanceled ;

Descripción

If the InputField was canceled and will revert back to the original text upon DeactivateInputField.