Unity gui textfield entrar
// call before GUI.TextField! or TextField will consume the enterkey!
bool enterPressed = Event.current.Equals(Event.KeyboardEvent("return"));
Clever Cow