Classes & Objects Explained in Unity C# | OOP Tutorial Series #1

  Рет қаралды 5,557

danqzq

danqzq

Күн бұрын

Пікірлер: 12
@rendered3090
@rendered3090 2 жыл бұрын
This tutorial was, let's just say... Double OP!
@PxlDev
@PxlDev 2 жыл бұрын
yes
@dv5870
@dv5870 2 жыл бұрын
Your editing style is very clear and makes it so easy to follow. Top notch content mate.
@seifeddinehaddar3805
@seifeddinehaddar3805 2 жыл бұрын
What the Dan doing, Awesome job mate! 👏
@DevNoob
@DevNoob 2 жыл бұрын
Very nicely organised with some very good examples. Great job!
@ToastedDen
@ToastedDen 2 жыл бұрын
Very epic! good video Dan!
@carlabalos3884
@carlabalos3884 2 жыл бұрын
What is the purpose of creating an instance of a class if all you can do is print from the class without inheriting functions to do something like for example an enemy?
@danqzq
@danqzq 2 жыл бұрын
Well, here in this tutorial I am just covering an example and printing out lines to the console. There are a lot of purposes for creating an instance of a class. For creating an enemy, you would essentially inherit your Enemy class from the MonoBehaviour class. And you cannot create instances using the "new" keyword from classes that inherit from MonoBehaviour.
@PxlDev
@PxlDev 2 жыл бұрын
Thank you!
@Abdel-Qader
@Abdel-Qader 2 жыл бұрын
really helpful tutorial but what did you mean by converting object into a stream of bytes to be able to save them into memory so how was the object saved before that and what do you mean exactly by "Object" ! I think I need a computer science course to know these stuff .. do you recommend any course make me really understand how the computer really work ! thanks a lot
@danqzq
@danqzq 2 жыл бұрын
Glad you found it helpful. If you are referring to the "[Serializable]" attribute, it can allow you to save object data into a file which will be in the persistent memory, or, in other words, in the storage of your device. When you store objects during runtime into some variables, they are stored in the non-persistent memory (RAM), only being available while your program is running. I hope that made it more clear for you. About, computer science courses - I'm not sure about which ones to suggest. But I think overall learning about the functions and purposes of each hardware component in a computer, is something that could help you out.
@Abdel-Qader
@Abdel-Qader 2 жыл бұрын
@@danqzq Yes I understood now ! Thank you so much that was really helpful .. keep up you're doing great work!
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
How Object Oriented Programming Works In Unity
16:14
Awesome Tuts - Anyone Can Learn To Make Games
Рет қаралды 24 М.
134 Unity Components EXPLAINED in Less than 30 Minutes
24:01
This is GameDev
Рет қаралды 75 М.
The Power of Scriptable Objects as Middle-Men
17:41
samyam
Рет қаралды 132 М.
Learn C# BASICS in 10 MINUTES!
10:55
Code Monkey
Рет қаралды 819 М.
Using Interfaces in Unity Effectively | Unity Clean Code
4:23
James Makes Games
Рет қаралды 63 М.
SCRIPTABLE OBJECTS in Unity
8:57
Brackeys
Рет қаралды 1 МЛН
The 6 Design Patterns game devs need?
24:20
Jason Weimann (GameDev)
Рет қаралды 375 М.
Every single feature of C# in 10 minutes
9:50
Train To Code
Рет қаралды 161 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН