Skip to content

Instantly share code, notes, and snippets.

@extrawurst
Created November 11, 2020 20:36
Show Gist options
  • Save extrawurst/619521cc99de0566a17b700532f2380c to your computer and use it in GitHub Desktop.
Save extrawurst/619521cc99de0566a17b700532f2380c to your computer and use it in GitHub Desktop.
struct MessageType {}
bus.Subscribe<MessageType>(()=>Debug.Log("Msg received"));
bus.Fire<MessageType>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment