Object-oriented programming in Unity?
My name is Cynthia and I need some help with Object-oriented programming. I have a project for school where I'am making a 2D platformer game with Unity. Where I have to make a base class and two child classes that inherits from it. I have to work with constructors, properties, etc .
The problem is I kinda know what the constructors, properties etc do but I don't know how to put them together to make a game.
Can someone help me, push me into the right direction cause now I don't know where to begin with.
What I like to make is a Enemy base class with two sub classes (enemy 1 and enemy 2) or base class Item (sort of coins or power ups) with two sub classes (item 1 and item 2).
If there is someone who can help I would be so grateful.
(I program in C# and the game must be made in Unity).
Sorry if this is not the right place for asking such a thing.