Skip to content

gamedev-resources/unity-event-bus-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YouTube

Stop using Singletons for Everything in Unity | Game Systems Explained

Video thumbnail

Singletons are one of the most widely used patterns in game development. But the downside is that they create a tight coupling between systems in your project. An event bus is a great alternative that lets your systems keep talking with each other without the tight dependency. In this tutorial we'll walk through what an event bus is and how to create one.

Note: The GameplayEventBus script has been updated since the video. The current, more performant version lives in Reference/, while the original script shown in the video is kept in Reference/Obsolete/ for reference.

What's Included

The current GameplayEventBus script is in Reference/, with the original video version in Reference/Obsolete/.

Resources

About

In this tutorial we'll walk through what an event bus is and how to create one.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages