{"id":18595593,"url":"https://github.com/minapecheux/unitytutorials-eventsandbroadcasting","last_synced_at":"2025-07-23T01:32:44.995Z","repository":{"id":122870033,"uuid":"394185651","full_name":"MinaPecheux/UnityTutorials-EventsAndBroadcasting","owner":"MinaPecheux","description":"The code for a short tutorial on Unity events and how to use them to make a broadcast messaging system and decouple systems in Unity/C# (in text or video format).","archived":false,"fork":false,"pushed_at":"2021-08-09T07:05:25.000Z","size":345,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T16:53:59.075Z","etag":null,"topics":["2d","broadcast","csharp","decoupling","events","system","unity"],"latest_commit_sha":null,"homepage":"https://minapecheux.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MinaPecheux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-08-09T07:02:25.000Z","updated_at":"2023-08-20T14:18:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"36710b69-7967-4f3e-976f-a9f8f49dc556","html_url":"https://github.com/MinaPecheux/UnityTutorials-EventsAndBroadcasting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MinaPecheux/UnityTutorials-EventsAndBroadcasting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaPecheux%2FUnityTutorials-EventsAndBroadcasting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaPecheux%2FUnityTutorials-EventsAndBroadcasting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaPecheux%2FUnityTutorials-EventsAndBroadcasting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaPecheux%2FUnityTutorials-EventsAndBroadcasting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MinaPecheux","download_url":"https://codeload.github.com/MinaPecheux/UnityTutorials-EventsAndBroadcasting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaPecheux%2FUnityTutorials-EventsAndBroadcasting/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266602788,"owners_count":23954694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2d","broadcast","csharp","decoupling","events","system","unity"],"created_at":"2024-11-07T01:20:14.980Z","updated_at":"2025-07-23T01:32:44.984Z","avatar_url":"https://github.com/MinaPecheux.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Unity/C#] Events \u0026 Broadcasting\n\n**Mina Pêcheux - July 2021**\n\nHow can we use Unity's built-in events and actions to implement a simple broadcast messaging system? Let's discover more in this 30 minutes-tutorial: \"How to use events to implement a messaging system in 30 minutes\".\n\nIt's available in text/video format: you can read it [on Medium](https://medium.com/geekculture/how-to-use-events-to-implement-a-messaging-system-in-unity-c-342ab4806d53) or watch it [on Youtube](https://www.youtube.com/watch?v=EvqdcyTgZNg).\n\n![thumbnail](imgs/thumbnail.png)\n\nIn this tutorial, I'm discussing the power of events for decoupling your game systems and better organising projects. We're looking at the emitters and receivers system (with one or multiple event types), at how to convey data with your events and at how to react differently to the same event depending on the listener.\n\nThis Github repo contains the code that is written throughout the tutorial:\n\n- the main `EventManager` C# class\n- a test emitter that triggers events on left- or right-mouse buttons click\n- some test listeners that react differently to those events\n\n![demo](imgs/demo.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminapecheux%2Funitytutorials-eventsandbroadcasting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminapecheux%2Funitytutorials-eventsandbroadcasting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminapecheux%2Funitytutorials-eventsandbroadcasting/lists"}