// Called when the event has been received private void OnExampleEvent(ExampleEvent evt) { Debug.Log(evt.Key + " pressed!"); }