What is a Component? (Unity Tutorial for Beginners)

preview_player
Показать описание
In this video we're going to learn what a Component is, what it's used for and how it relates to MonoBehaviour.

If you have any questions post them in the comments and I'll do my best to answer them.

See you next time!

#unity3d #tutorial #unity2d

--------------------------------------------------------------------

Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.

I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.

--------------------------------------------------------------------

Рекомендации по теме
Комментарии
Автор

🌐 Have you found the videos Helpful and Valuable?

CodeMonkeyUnity
Автор

finally i watch a good person to learn 😍😍😍

andromeda
Автор

Hey,
Just finished watching the Basics Playlist, love the series,
Cant belive you dont have way more followers

Quick question:
In wich order should I continue with the other Playlists?
Is there any connection between them, or are they all just standalone, without the needs of knowledge/Objects from other videos?

bluegru
Автор

It's too good to be free! Thank you.

silentbox.stream
Автор

Just a few years later and I’ve learned that you change execution order of scripts 🤯

JoshuaFrench
Автор

CM what is the meaning of Instance in Unity ???

neozoid
Автор

ive been trying to do somthing and i just cant figure it out
im willing to try pretty much anything at this point

using UnityEngine;

public class Orange_Block : MonoBehaviour
{
public bool moves;

public move Move;

void Describe()
{
Move = GetComponent<move>();
}

void OnTriggerEnter()
{
Move = GetComponent<move>();

if (Input.GetKey("a") || Input.GetKey("d"))
{
moves = true;
}
else
{
moves = false;
}

if (moves == false)
{
Move.enabled = false;

}
}
}

"move" is the component im trying to acces from another object and "Move" is what i named it
any clues in what im doing wrong?

ImJestFaiq
Автор

Hi there, I was watching the SerializeField section and was hoping that you could explain what the [SerializeField] part does as [SerializeField] private int Health does the same thing as private int Health. Also, what difference is public int Health compared to [SerializeField] private int Health?

dream
Автор

explain the concept of component not how to do it

mohsen
Автор

The truth I know all the stuff you tell in that video I expect lurn samthin new but nop.
enyway from the people is bigger You can add meny difrent types unity component with codes like camera rigetbody.... If you want I hop video to explain that part to nop I need to see other video and examples from Understand that part

watercat