Disclosure: when you buy through links on our site, we may earn an affiliate commission.

Object Oriented Programming for Unity game devs

Learn OOP theory using game-related examples and practice how to apply it to a Hands-On Unity 2D game prototype
(9 reviews)
45 students
Created by


CourseMarks Score®







Platform: Udemy
Video: 4h 59m
Language: English
Next start: On Demand

Top Unity courses:

Detailed Analysis

CourseMarks Score®

10.0 / 10

CourseMarks Score® helps students to find the best classes. We aggregate 18 factors, including freshness, student feedback and content diversity.

Freshness Score

10.0 / 10
This course was last updated on 4/2022.

Course content can become outdated quite quickly. After analysing 71,530 courses, we found that the highest rated courses are updated every year. If a course has not been updated for more than 2 years, you should carefully evaluate the course before enrolling.

Student Feedback

10.0 / 10
We analyzed factors such as the rating (5.0/5) and the ratio between the number of reviews and the number of students, which is a great signal of student commitment.

New courses are hard to evaluate because there are no or just a few student ratings, but Student Feedback Score helps you find great courses even with fewer reviews.

Content Score

9.4 / 10
Video Score: 8.3 / 10
The course includes 4h 59m video content. Courses with more videos usually have a higher average rating. We have found that the sweet spot is 16 hours of video, which is long enough to teach a topic comprehensively, but not overwhelming. Courses over 16 hours of video gets the maximum score.
Detail Score: 10.0 / 10

The top online course contains a detailed description of the course, what you will learn and also a detailed description about the instructor.

Extra Content Score: 9.9 / 10

Tests, exercises, articles and other resources help students to better understand and deepen their understanding of the topic.

This course contains:

4 articles.
18 resources.
0 exercise.
0 test.

Table of contents


Improve your coding skills by learning Object Oriented Programming and how to apply it in Unity.

All the theory is explained on game-related examples and next we use a Hands-On project – a prototype of a 2D Shoot ‘Em Up game to learn how to apply what we have learned in a Unity project.

Do you find it difficult to add new Enemies, Weapons or new Game Mechanics to your game? Do you spend more time fixing bugs than actually testing the new feature that was meant to take you few minutes to add? If so I bet that you will benefit a lot from learning OOP!

Instead of talking about generic concepts like Animal-Dog or Person-Employee we will use game-related examples like implementing different weapons to your game or how to add multiple different enemies to your project.

This course is made out of 2 parts:

Theory Part:
In Section 1 I will explain WHAT is Object-Oriented programming:
•*We will also talk about composition and why “prefer composition over inheritance” is a GOOD advice.

Practical Part:
NEXT we will work on a HANDS-ON project by implementing new features and seeing HOW and WHY to apply OOP solution. We will explore why a prototypical code will fail when we want to expend our game with new features and I will show you HOW to use OOP to enable us to easily add new weapons, enemies and other features that we want to have in our game.

There is no way to learn OOP just by exploring theory. You need to PRACTICE and explore some game dev related examples to get a feel for how to apply OOP in your code ?

We will tackle the most common game dev tasks:
•Adding different weapons to your game
•Adding a new game mechanic
•Making tour code more component-based
•Adding a new enemy

What you can expect from the course: ?

•5h of video content
Learning OOP can be done only through practice. After you watch the theory (Section 1) I have prepared few example problems related to Game Dev so that you can PRACTICE what you have learned.

•A Fully working Shoot’em up game prototype
Theory (WHY) is useless if you don’t know how to apply it in practice.
I have prepared a working prototype of a small game that we will refactor so that you can learn HOW to use OOP and WHEN to do it.

•Project files and scripts
For each video where we write some code I will provide a github link so that you can view the changes in the code as well as my full project that you can open in unity to find any issue / difference / bug that you might have.

•My help
If you don’t understand something just ask here in the comment section or on courses Discord channel. I do my best to daily answer any question.

•30-Days refund policy
If you don’t enjoy the course let me know and I will issue a refund if you are within the 30 days from the date that you made the purchase.

Sunny Valley Studio has already helper more then 4350 students in addition to almost 10 000 subscribers on my YouTube channel to improve there C# coding skills and there knowledge about Unity by showing how to make 2D Platformer, a Juicy 2D shooter game or a 3D Survival game as video courses. On YouTube you can find everything from how to create Minecraft-like voxel world, a turn-based 2d game or an inventory system.

Hi! I’m Peter and will be your instructor.
I am passionate about programming and Unity (worked for about ~5 years as a programmer / unity dev) and I will do my best to help you to develop game dev and programming skills that you can use to make your own games or to get a job in a game dev studio as a programmer )

See you in the course!

You will learn

✓ Learn how object oriented programming works in practice
✓ Understand Composition and how to use it
✓ Learn how to apply OOP in Unity
✓ Learn how to refactor your code to improve its quality
✓ Develop a problem solving attitude
✓ Get experience using Unity 2021
✓ Learn good coding and design patterns
✓ Learn how a 2D space shooter game works
✓ Practice exercise per each section


• Mac or PC capable of running Unity 2021 or later
• A passion and willingness to learn how to code
• I know my way around Unity
• I understand the basic of C# language

This course is for

• Beginner Unity devs looking to improve their coding skills
• Anyone who wants to Learn OOP in C#
• Unity beginners who are willing to work hard
• Anyone who wants to Build maintainable Games using C#

How much does the Object Oriented Programming for Unity game devs course cost? Is it worth it?

The course costs $49.99.

Does the Object Oriented Programming for Unity game devs course have a money back guarantee or refund policy?

YES, Object Oriented Programming for Unity game devs has a 30-day money back guarantee. The 30-day refund policy is designed to allow students to study without risk.

Are there any SCHOLARSHIPS for this course?

At the moment we could not find an available scholarship for Object Oriented Programming for Unity game devs.

Who is the instructor? Is Sunny Valley Studio a SCAM or a TRUSTED instructor?

Sunny Valley Studio has created 5 courses that got 522 reviews which are generally positive. Sunny Valley Studio has taught 4,408 students and received a 4.7 average review out of 522 reviews. Depending on the information available, Sunny Valley Studio is a TRUSTED instructor.
Gameplay programmer
Hi I’m Peter and I am an Indie game dev / programmer.
Around 2015 I have started seriously learning programming in Java / JavaScript. in 2017 I have made my first game in Phaser.js (* you can find it on Sunny Valley Studio itch io)
Unfortunately what I have learned about programming from the Unity courses / tutorials wasn’t scalable outside a simple mobile game. Every new piece of code / new feature I have added to the code broke my previously written logic.
After working as a Machine Learning dev for a while I decided in September 2019 to make a bigger game, sell it on steam and become game dev full time as a Sunny Valley Studio. To create a bigger game I really need to write a more maintainable and extendable codebase. Problem was that the only courses about OOP, SOLID, Design patterns etc were pure C# courses / book. The code and the solutions sometimes were hard to apply in Unity environment. Nevertheless I hit the books, started using what I have learned to create YouTube video series on how to implement interesting game mechanics. This practice helped me a lot at learning how to apply OOP in Unity projects.
Now my goal is to make my own games and teach what I know. I want you to understand WHAT we need to write in order to implement any game mechanics, HOW it works and most importantly WHY did we write it this way.
If you have every experienced the feeling of frustration that instead of having fun making your game you constantly have to debug the code maybe take a look at my courses.
I know that making games is much more than just programming but its difficult to focus on other aspects when you can’t make the specific game mechanics that you have envisioned for your game.
I hope that when you understand how to write maintainable and reusable code you will have less bugs and most importantly you will be able to focus on making your dream game.

See you in the course!

*I can’t post links in this section


CourseMarks Score®







Platform: Udemy
Video: 4h 59m
Language: English
Next start: On Demand

Students are also interested in

Review widget (for course creators):

Object Oriented Programming for Unity game devs rating
Code for the widget (just copy and paste it to your site):
<a href="https://coursemarks.com/course/object-oriented-programming-for-unity-game-devs/" target="_blank" title="Object Oriented Programming for Unity game devs on Coursemarks.com"><img border="0" src="https://coursemarks.com/widget/100.svg" width="200px" alt="Object Oriented Programming for Unity game devs rating"/></a>