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

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
iHeartGameDev Merch:
💛 www.iheartgamedev.com
WANT MORE?
✅ Learn to use Lego Behavioral Bricks in the Lego Microgame!
• Intro to Game Developm...
✅ Watch Episode 1 of the Lego Microgame series here!
• Intro to Game Developm... ​
✦ Interested in learning more about animating characters in Unity? Check out my growing series of tutorials!
kzread.info/head/PLw...
✦ Like the vid? Please consider Subscribing!
bit.ly/2YdIb6j​
✦ Missed out on the last episode?
• How to Move Characters... ​
SOCIAL:
✦ Discord
/ discord
✦ Twitter
/ iheartgamedev
LINKS FOR THE MICROGAME:
⭐ Download Unity Hub: unity3d.com/get-unity/download
GEAR:
Lumix G7 Camera: amzn.to/3Kks1gZ
Epomaker GK68 Keyboard: amzn.to/3Ke87EB
Samson C01U Pro Mic: amzn.to/33kDdtG
LG 27" Monitor: amzn.to/3qAHFwS
Lepow 15.6" Portable Monitor: amzn.to/3287OtL
Logitech G604 Mouse: amzn.to/3A6jNV4
Audio-Technica ATH-M50X Headphones: amzn.to/3tBaeMT
X-Pen Artist 15.6 Pro Drawing Tablet: amzn.to/3FE5HLI
Apple 15in MacBook Pro Laptop: amzn.to/3AbKdFc
►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

Пікірлер: 39

  • @FAISAL-ky7ps
    @FAISAL-ky7ps3 жыл бұрын

    Unpack Prefabs and Prefabs Variant, now i understand about that :v Waiting you explain Shader and Lighting

  • @Ryan-ww7un
    @Ryan-ww7un3 жыл бұрын

    Your explanation of variants and nested prefabs really helped me!

  • @signalised9540
    @signalised95403 жыл бұрын

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

  • @pierreroquin6506
    @pierreroquin65062 жыл бұрын

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

  • @phantomprogramming
    @phantomprogramming3 жыл бұрын

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

  • @moniques1377
    @moniques13772 жыл бұрын

    Very helpful reference video! Great work & thank you 💜

  • @LarryMcCormick-ne8to
    @LarryMcCormick-ne8to Жыл бұрын

    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.

  • @JeffKomarow
    @JeffKomarow3 жыл бұрын

    Thank you for this explanation of Prefab Variants!

  • @SnakeEngine
    @SnakeEngine Жыл бұрын

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

  • @itzavi3629
    @itzavi36293 жыл бұрын

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

  • @itzavi3629

    @itzavi3629

    3 жыл бұрын

    @@iHeartGameDev I had created a fps character controller and i was going to start adding a character and working on animation. But after the release of your last character controller video, i decided to first watch your character controller with animation tutorial to make it as effecient as possible

  • @johnstrunk226
    @johnstrunk2262 жыл бұрын

    Thank you for this! So helpful

  • @007Babush
    @007Babush2 жыл бұрын

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

  • @erz3030
    @erz30303 жыл бұрын

    Awesome video as always Nicky :)

  • @turkeyjerkey
    @turkeyjerkey3 жыл бұрын

    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" KZread 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!

  • @odinniereece4096
    @odinniereece40963 жыл бұрын

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

  • @odinniereece4096

    @odinniereece4096

    3 жыл бұрын

    @@iHeartGameDev 😊😊Im just here enjoying the content.. Cant wait for the next video

  • @elsam_
    @elsam_3 жыл бұрын

    You need more views for this quality content!

  • @nightstorm6596
    @nightstorm65963 жыл бұрын

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

  • @nightstorm6596

    @nightstorm6596

    3 жыл бұрын

    @@iHeartGameDev Cool keep up the great work

  • @ciankiwi7753

    @ciankiwi7753

    3 жыл бұрын

    @@iHeartGameDev all of these items get me excited!

  • @brionsarachan4500
    @brionsarachan45003 жыл бұрын

    Great video on prefabs!

  • @iHeartGameDev

    @iHeartGameDev

    3 жыл бұрын

    Thanks very much Brion! Hope you're well! -Nicky

  • @Director414
    @Director414 Жыл бұрын

    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.

  • @herbf2700
    @herbf27003 жыл бұрын

    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?

  • @darkdoom907
    @darkdoom9072 жыл бұрын

    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

  • @zubankesari7464
    @zubankesari74643 жыл бұрын

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

  • @486x
    @486x3 жыл бұрын

    any video about HDRP shaders?

  • @vrwille4128
    @vrwille41283 жыл бұрын

    Yay

  • @ksriharsha2911
    @ksriharsha29113 жыл бұрын

    🔥🔥🔥🔥

  • @blendersovann5123
    @blendersovann51233 жыл бұрын

    bro can you tell me about multiplayer in unity?

  • @MacTime89
    @MacTime893 жыл бұрын

    Hello, the twitter link doesn't work for me. Great video by the way

  • @orlandomco
    @orlandomco3 жыл бұрын

    What do you use to edit your videos?

  • @orlandomco

    @orlandomco

    3 жыл бұрын

    @@iHeartGameDev All your videos look so professional

  • @Mikelica69
    @Mikelica693 жыл бұрын

    Hi :]

  • @adaloveless3904
    @adaloveless3904 Жыл бұрын

    how do i get this f**king thing to stop erasing my materials embedded in the prefab?

  • @SnakeEngine

    @SnakeEngine

    Жыл бұрын

    Do you experience bugs with prefabing?

  • @philipstahlbrand7674
    @philipstahlbrand76743 жыл бұрын

    the all too silent music in the background is giving me anxiety

  • @philipstahlbrand7674

    @philipstahlbrand7674

    3 жыл бұрын

    other than that i love the tutorials