Programming Design Patterns For Unity
Learn how to apply programming best practices to your Unity projects.
Do you ever wonder why your code has so many bugs or find yourself perplexed by code you wrote months ago?
Maybe you've heard of Programming Patterns but don't understand when to use them, or you want to know how to actually implement these Patterns in Unity?
In this course you'll take your coding to the next level!
From fundamental programming best practices including how to write clean, maintainable code to what problems to solve with Programming Patterns, how to write common Patterns in Unity and how Programming Patterns implement best practices.
By the end of the course you'll know how to:
- Spot bad practices.
- Refactor bad code into better code.
- Unpack common Patterns to see why they work.
- Apply Programming Patterns to game specific examples.
If you're an intermediate Unity programmer wanting to make bigger games, without drowning in complex code, then this is the course for you.
To take the course you'll need a strong understanding of basic C# programming (classes, methods, ifs, loops) and some familiarity with more advanced concepts (inheritance, interfaces, events).
All students have access to the Q&A forums where our Instructors, Teaching Assistants and Community are ready to help answer your questions and cheer on your success. 🎉
What you'll learn in this course:
- Fundamental programming best practices.
- How to write clean, maintainable code.
- What problems to solve with Programming Patterns.
- How to write common Patterns in Unity.
- How Programming Patterns implement best practices.
Sam wrote his first game at 14, hacking together little games in Macromedia Flash during his summer holidays. Not long after, he taught himself C++ followed by Python and web programming. He was hooked.
In 2010 he went to study Computer Science at the University of Cambridge and he's been in Cambridge ever since. That is where he caught the entrepreneurial bug and realised he wouldn't want a traditional job for long. So after a few years working in various jobs to get experience, he quit and started burning through his savings looking for his calling.
At the end of 2015, he was coaching some friends to improve their programming skills. Realising how much he loved it, he started creating online courses and reached out to Ben for help. Fast forward and he's part of the GameDev.tv gang and gets to hang out with our awesome community!
Course Curriculum (3+ hours)
StartThe Observer Pattern (6:22)
StartObservers With UnityEvents (11:09)
StartDelegates, Actions and Events (13:45)
StartThe Singleton (Anti?) Pattern (8:40)
StartBetter Than A Singleton (6:09)
StartFinite State Machines (6:49)
StartState Pattern (9:59)
StartObject Pooling (19:14)
StartStrategy Pattern (10:31)
StartDecorator Pattern (7:34)
StartComposite Pattern (6:09)
StartThe Model-View-Controller Family (9:45)
StartModel-View-Presenter In Unity (12:56)