Easy Simple Game Architecture in Unity Using Events
Video Statistics and Information
Channel: Andrew George
Views: 6,700
Rating: undefined out of 5
Keywords: Unity, tutorial, C#, events, game development, learn, game dev, easy, simple, game, architecture, programming, coding, make a game, free, learn unity, indie, game architecture, game design
Id: Ve-8kGnj8u4
Channel Id: undefined
Length: 9min 14sec (554 seconds)
Published: Sat May 23 2020
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
events are absolutely essential. All of my UI is wired to events, and only updates when it needs to. I do everything I can to remove the void Update() method in monobehaviors
Great video... thanks for sharing!
I’ve been watching a lot of event tutorials lately and with this one it finally clicked. Thanks
This is great, really powerful stuff, and I plan to implement these patterns ASAP in my game.
The Sebastian Lague video he links to, and its follow-up video, are really essential for understanding and expanding on delegates, which is what this is one subspecies of. An "Action" is a shortcut for declaring a delegate, so you really want to watch the other two videos to know what you're really doing. You should also know Funcs, which is an Action that can return something. He also briefly mentions lambdas, another powerful tool.
It's going to take me some time to internalize all of this. I'm going to have to force myself to use them a few times before it really sinks in.