
Decoupling Patterns in Unity3D using C# Events and Queues
Channel:
Subscribers:
1,770
Published on ● Video Link: https://www.youtube.com/watch?v=knrRM_W3zrk
In this video I give two examples of how I use features in C# to decouple game objects in my Unity3D projects. First, I use C# events to implement the observer pattern for sending messages from game logic to UI. Then I use C# queues to implement the event queue pattern to allow the UI to display messages in the order they were sent, waiting for the previous message to finish displaying.
Follow Sean on twitter https://twitter.com/drseanwalton
Part of Swansea University Computer Science’s Intro to Video Games Programming https://www.swansea.ac.uk/undergraduate/courses/science/computer-science/bsc-computer-science-g400/
Other Videos By Pill Bug Interactive
Tags:
decoupling patterns in unity3d
decoupling patterns in unity
observer pattern unity
observer pattern c#
observer pattern explained
event queue design pattern
event queue unity
design patterns c#
observer pattern c# unity
unity event system
game programming patterns book
unity c# course