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

Поділитися
Вставка
  • Опубліковано 10 лип 2024
  • 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!
    ua-cam.com/play/PLw.html...
    ✦ 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

КОМЕНТАРІ • 41

  • @lukegf0
    @lukegf0 10 днів тому +1

    Thanks for another awesome game dev video!

  • @itzavi3629
    @itzavi3629 3 роки тому +2

    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

  • @FAISAL-ky7ps
    @FAISAL-ky7ps 3 роки тому +3

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

  • @Ryan-ww7un
    @Ryan-ww7un 3 роки тому +2

    Your explanation of variants and nested prefabs really helped me!

  • @signalised9540
    @signalised9540 3 роки тому +1

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

  • @pierreroquin6506
    @pierreroquin6506 2 роки тому +1

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

  • @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.

  • @moniques1377
    @moniques1377 2 роки тому

    Very helpful reference video! Great work & thank you 💜

  • @phantomprogramming
    @phantomprogramming 3 роки тому

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

  • @JeffKomarow
    @JeffKomarow 3 роки тому

    Thank you for this explanation of Prefab Variants!

  • @erz3030
    @erz3030 3 роки тому

    Awesome video as always Nicky :)

  • @SnakeEngine
    @SnakeEngine Рік тому

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

  • @johnstrunk226
    @johnstrunk226 2 роки тому

    Thank you for this! So helpful

  • @007Babush
    @007Babush 3 роки тому +1

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

  • @elsam_
    @elsam_ 3 роки тому +1

    You need more views for this quality content!

  • @turkeyjerkey
    @turkeyjerkey 3 роки тому +1

    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" UA-cam 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
    @odinniereece4096 3 роки тому

    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

  • @brionsarachan4500
    @brionsarachan4500 3 роки тому +1

    Great video on prefabs!

    • @iHeartGameDev
      @iHeartGameDev  3 роки тому +1

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

  • @nightstorm6596
    @nightstorm6596 3 роки тому +2

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

    • @nightstorm6596
      @nightstorm6596 3 роки тому +1

      @@iHeartGameDev Cool keep up the great work

    • @ciankiwi7753
      @ciankiwi7753 3 роки тому +1

      @@iHeartGameDev all of these items get me excited!

  • @herbf2700
    @herbf2700 3 роки тому +1

    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?

  • @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.

  • @darkdoom907
    @darkdoom907 2 роки тому +1

    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

  • @vrwille4128
    @vrwille4128 3 роки тому

    Yay

  • @ksriharsha2911
    @ksriharsha2911 3 роки тому

    🔥🔥🔥🔥

  • @zubankesari7464
    @zubankesari7464 3 роки тому

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

  • @486x
    @486x 3 роки тому

    any video about HDRP shaders?

  • @blendersovann5123
    @blendersovann5123 3 роки тому

    bro can you tell me about multiplayer in unity?

  • @orlandomco
    @orlandomco 3 роки тому

    What do you use to edit your videos?

    • @orlandomco
      @orlandomco 3 роки тому

      @@iHeartGameDev All your videos look so professional

  • @MacTime89
    @MacTime89 3 роки тому

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

  • @Mikelica69
    @Mikelica69 3 роки тому +1

    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
    @philipstahlbrand7674 3 роки тому

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