public bool AcceptChar(TextField textField, char c) { if (c == 't' || c == 'T') { textField.SetTextForced("true"); } if (c == 'f' || c == 'F') { textField.SetTextForced("false"); } return(false); }
public void SetNumber(float value) { field.SetTextForced(value.ToString()); number = value; OnNumberChanged(this, value); }