Programming Design Patterns For Unity

How to apply programming best practices to your Unity projects.

   Watch Promo
 

Programming Design Patterns For Unity

Learn how to apply programming best practices to your Unity projects.

Join 734,000 Strong Student Community

Get Teaching Assistant Support

Earn a Completion Certificate

Enjoy 30-Day Money-Back Promise

Lifetime Access to Course

Get plugged into our communities of amazing developers on Facebook (nearly 20k), in our own TA-curated Community (17k views/day), or our student chat group (10k live at any one time)

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.

Your Instructor


Sam Pattuzzi
Sam Pattuzzi

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)


  Introduction (0 hours 51 minutes)
Available in days
days after you enroll
  • Start
    What’s In This Course? (2:52)
  • Start
    Why NOT To Use Design Patterns (8:13)
  • Start
    Community & Support (1:40)
  • Start
    Naming Things & Cache Invalidation (10:11)
  • Start
    Sources Of Spaghetti Code (10:28)
  • Start
    Composition Over Inheritance (8:18)
  • Start
    The Law Of Demeter (9:41)
  Studying Patterns (2 hours 9 minutes)
Available in days
days after you enroll
  • Start
    The Observer Pattern (6:22)
  • Start
    Observers With UnityEvents (11:09)
  • Start
    Delegates, Actions and Events (13:45)
  • Start
    The Singleton (Anti?) Pattern (8:40)
  • Start
    Better Than A Singleton (6:09)
  • Start
    Finite State Machines (6:49)
  • Start
    State Pattern (9:59)
  • Start
    Object Pooling (19:14)
  • Start
    Strategy Pattern (10:31)
  • Start
    Decorator Pattern (7:34)
  • Start
    Composite Pattern (6:09)
  • Start
    The Model-View-Controller Family (9:45)
  • Start
    Model-View-Presenter In Unity (12:56)
  Wrapping Up (0 hours 14 minutes)
Available in days
days after you enroll
  • Start
    Further Reading (2:36)
  • Start
    BONUS: SOLID Principles (12:21)

Frequently Asked Questions


When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.

Get started now!