Unity How to structure your code with UnityEvents - Tutorial

Uploaded by CouchFerret makes Games
Share: Twitter Facebook
We're gonna talk about how to structure your code with UnityEvents so it won't become a huge spaghetti. First, we'll look into the disadvantages of using GameObject.Find and GetComponent function calls. Then I'll explain how Events work and how they make the code more flexible and cleaner. We'll cover topics like code dependency and tightly coupled code.

Gamedev channels mentioned:

Blackthornprod: https://www.youtube.com/channel/UC9Z1XWw1kmnvOOFsj6Bzy2g
Brackeys: https://www.youtube.com/channel/UCYbK_tjZ2OrIZFBvU6CCMiA
Dani: https://www.youtube.com/channel/UCIabPXjvT5BVTxRDPCBBOOQ
Jonas Tyroller: https://www.youtube.com/channel/UC_p_9arduPuxM8DHTGIuSOg
Sebastian Lague: https://www.youtube.com/channel/UCmtyQOKKmrMVaKuRXz02jbQ
Sykoo: https://www.youtube.com/channel/UCNJvwJ6daLmw4_gUKTw4cSg
ThinMatrix: https://www.youtube.com/channel/UCUkRj4qoT1bsWpE_C8lZYoQ
Thomas Brush: https://www.youtube.com/channel/UCuHVjteDW9tCb8QqMrtGvwQ

Are you interested in making games with Unity?

I upload frequently, so stay tuned and consider subscribing!

Hi, I'm CouchFerret and follow me on my journey of indie game development. You will find in depth tutorials about developing games in Unity. We will cover topics from programming to art and game design. Whether you are an expert or beginner, you will definitely find new tips and tricks about the whole game development process. These how to videos help you learn unity to develop 2d and 3d games on your own.

● Sprites and Project Files on Patreon: https://www.patreon.com/CouchFerret

● Join my Discord Server: https://discord.gg/dac7sr2

● Tweet me on Twitter: https://twitter.com/couchferret

● Follow me on Instagram: https://www.instagram.com/couchferret

● Like me on Facebook: https://www.facebook.com/couchferret/


#Unity #UnityTutorial #gamedev