Prefabs & Prefab Variants - Unity Tutorial

Prefabs & Prefab Variants - Unity Tutorial

Tarodev

3 года назад

17,195 Просмотров

Learn what prefabs are, how to use them, and how to take advantage of prefab variants to maximize re-usability in your games.


❤️ Become a Tarobro on Patreon: https://www.patreon.com/tarodev

=========

🔔 SUBSCRIBE: https://bit.ly/3eqG1Z6
🗨️ DISCORD: https://discord.gg/tarodev
✅ MORE TUTORIALS: https://www.youtube.com/tarodev


About Tarodev:
Develop video games like a pro!
Whether you're a beginner or a seasoned game developer, you'll find lots of useful tips and tricks to boost your development career. Visit the channel: https://www.youtube.com/channel/UCAg2py6olXgod71Ix06HnUQ

Тэги:

#unity_prefabs #unity_tutorial #game_dev #prefab_variant #unity_prefab #game_development #unity #tarodev #prefab_mode #tutorial #unity_prefabs_tutorial #unity_nested_prefabs #unity_prefabs_explained #unity_3d
Ссылки и html тэги не поддерживаются


Комментарии:

IgloNudel
IgloNudel - 13.08.2023 12:43

This is really cool, thanks for the easy to understand explanation too :D

Ответить
Neren
Neren - 07.06.2023 09:42

Thanks from Russia!

Ответить
Youssef Ben Cheikh
Youssef Ben Cheikh - 16.05.2023 17:11

Something i couldn't wrap my head around in varaints is the part of the manual that says "Note: When editing a Prefab Variant in Prefab Mode, you should understand that applying these overrides (via the Overrides drop-down window or context menus) will cause your variant’s variations to be applied to the base Prefab Asset. This is often not what you want. The point of a Prefab Variant is to provide a convenient way to store a meaningful and reusable collection of overrides, which is why they should normally remain as overrides and not get applied to the base Prefab Asset." Could you please clear this up?
Thanks in advance

Ответить
Rimuru Dev
Rimuru Dev - 12.01.2023 14:34

Cool!

Ответить
Ryo_chr
Ryo_chr - 11.12.2022 07:03

when i create the prefabs folder and drag in a model, it doesn’t become a prefab. it stays a model

Ответить
AB H AY
AB H AY - 29.11.2022 06:59

thank you

Ответить
Daniela Sol B
Daniela Sol B - 05.08.2022 05:11

hi, I've tried making 3 different kids of balls. All of them are different sizes and that works just fine, but when I change the color, it applies to all the variants, included the original one. Can you help me please?

Ответить
Margarita Belorukova
Margarita Belorukova - 17.05.2022 12:58

That's a great explanation. Thank you for keeping it concise and short.

Ответить
Richard Džavoronok
Richard Džavoronok - 25.03.2022 12:07

very good tutorial, subscribed right away :)

Ответить
CCV334
CCV334 - 31.01.2022 03:45

How do you make the slime shader? I really like how that looks.

Ответить
C R
C R - 17.01.2022 20:57

I really appreciate your videos! Thank you.

Ответить
Batuhan Batuhan
Batuhan Batuhan - 15.01.2022 23:06

so this is basically what classes are in unity. you make an instance var turn into a class by turning it into a pfab and you can create subclasses from it.

Ответить
Максим Москальчук
Максим Москальчук - 03.12.2021 17:18

maaaaan you're good) and interesting themes and all's clearly explained. I'm glad i found your channel! Mb let's create some game?

Ответить
masonmason22
masonmason22 - 25.10.2021 11:07

Nice video. Thanks!

Ответить
Akash Tech Developer
Akash Tech Developer - 15.10.2021 11:59

Hi sir ji I need help how to access child of prefab through script in unity?

Ответить
Vishnu Jayaraj
Vishnu Jayaraj - 13.10.2021 19:39

Which shader you are using for slime?

Ответить
Ryan
Ryan - 10.08.2021 18:51

such a good lesson!

Ответить
marilynjay
marilynjay - 26.04.2021 07:16

Super helpful! I understood prefabs but I didn't understand the variants until this video.

Ответить
noobcraft
noobcraft - 02.02.2021 17:01

good vidio will help when making longer games whe I am at intermidiat level in game dev. :)

Ответить