protected void submit() { if (SubmitButtonPressed != null) { SubmitButtonPressed.Invoke(this, StartSession()); } }
private void OnClick_SubmitButton() { SubmitButtonPressed.Invoke(input.text); messageText.text = ""; }