Everything you need to know about prefabs in Unity | Prefabs Explained ft. Lego Microgame

preview_player
Показать описание
In this detailed breakdown, you will learn everything you need to know about prefabs in Unity! With this 12 minute guide, prefabs will be explained in a step by step process, and the knowledge gained will save you time and headaches as you develop your own games. It will even help you implement better game design!

SUPPORT THE CHANNEL:
iHeartGameDev Merch:

WANT MORE?
✅ Learn to use Lego Behavioral Bricks in the Lego Microgame!
✅ Watch Episode 1 of the Lego Microgame series here!
✦ Interested in learning more about animating characters in Unity? Check out my growing series of tutorials!
✦ Like the vid? Please consider Subscribing!
✦ Missed out on the last episode?

SOCIAL:
✦ Discord
✦ Twitter

LINKS FOR THE MICROGAME:

GEAR:

►TIMESTAMPS:
Intro: 0:00
What is a Prefab: 0:32
How to Make a Prefab: 0:57
What do Prefabs Do: 1:42
GameObjects Explained: 2:25
Enemy GameObject Example: 2:57
Problems With GameObjects: 3:29
GameObject Problems Explained: 3:53
Making Prefabs With Our Enemy: 4:17
What are Prefab Instances: 4:33
Prefab Benefits Explained: 4:42
Prefab Overrides Explained: 5:38
Prefab Mode Explained: 6:37
Transform Override Outlier: 7:28
Other Benefits of Prefabs: 8:00
Making Other Kinds of Enemies: 8:15
Prefab Variants Explained: 8:45
Nested Prefabs Explained: 9:37
Instantiate Prefabs Explained: 10:20
Unpacking Prefabs Explained: 10:52
Making Prefabs in the Lego Microgame: 11:15
Next Time: 11:37
Рекомендации по теме
Комментарии
Автор

Thanks for another awesome game dev video!

lukegf
Автор

Your explanation of variants and nested prefabs really helped me!

Ryan-wwun
Автор

This video is a must see for anyone working in a team on a Unity project, I often share it to people, great work !

pierreroquin
Автор

Can we get a vid were you setup movement using rigidbodies and show all the ways to move using a rigidbody

nightstorm
Автор

Great Content! This guy is not just for show, he can go! :)

SnakeEngine
Автор

You need more views for this quality content!

elsam_
Автор

This was awesome! I've looked at the trello board and I'm excited for what's to come!

signalised
Автор

Thank you for this explanation of Prefab Variants!

JeffKomarow
Автор

Unpack Prefabs and Prefabs Variant, now i understand about that :v

Waiting you explain Shader and Lighting

FAISAL-kyps
Автор

Thanks for the great video!
Another great benefit of prefabs would be performance since the prefabs are all just references of the original GameObject

Babush
Автор

I love your pace and presentation! Good job covering Nested Prefabs! Maybe not "everything you need to know" about Prefab Variants, though. ;-) Unity's "The Journey: Ep.5" YouTube video discusses Prefab Variants and Prefab workflows in some detail, including how they 'inherit' properties from base prefabs, but can also override some properties (in more detail than your video). They also point out that since the original prefab (and all variants) are connected to the original FBX file, changes to the FBX file (e.g., in Blender) will modify all the variants in Unity too! With a full prefab (instead of Variant), the link to the original FBX file is replaced with a generic game object instead, and this doesn't happen!

turkeyjerkey
Автор

Thumbs up to you! That was really really great! I decided that I need to make a folder called Great Unity Tutorials and put your tutorial in it. I plan on watching this again. Thank you so much for putting your heart into this and doing a really professional, well delivered, expert training video. Thank you.

LarryMcCormick-neto
Автор

I am really waiting for that character controller movement with animation videos

itzavi
Автор

A very well-put-together video! Nice job!

phantomprogramming
Автор

Very helpful reference video! Great work & thank you 💜

moniques
Автор

Wonderful video.. This explanation help me understand somethings I never knew ..

odinniereece
Автор

Amazing video, many thanks!! 😊👍👌
It's the nesting of multiple prefabs and what changes apply to either child or parent prefab that confuses me the most.

Director
Автор

What old version of Unity is the cut-off for nested prefabs? And what happens if you try to move stuff betwixt the versions that arent' necessarily compatible? And are there any differences between how versions use the prefabs other than the nested prefabs being a new thing? And is there a way to find the holy first prefab that controls the rest?

herbf
Автор

I made audience by creating a humanoid with animator controller, I wanted all the prefabs in the scene to play a certain animation on a UnityEvent Invoke, but only the prefab which was mentioned in the Event was triggerred and the rest were not

darkdoom
Автор

Is there anyway to repack an Unpacked prefab based on its original prefab?
I did an oppsie in my project please help..

zubankesari