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

Поделиться
HTML-код
  • Опубликовано: 28 июн 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!
    ruclips.net/p/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

  • @Ryan-ww7un
    @Ryan-ww7un 3 года назад +2

    Your explanation of variants and nested prefabs really helped me!

  • @FAISAL-ky7ps
    @FAISAL-ky7ps 3 года назад +3

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

  • @SnakeEngine
    @SnakeEngine Год назад

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

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

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

  • @signalised9540
    @signalised9540 3 года назад +1

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

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

  • @007Babush
    @007Babush 2 года назад +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!

  • @erz3030
    @erz3030 3 года назад

    Awesome video as always Nicky :)

  • @JeffKomarow
    @JeffKomarow 3 года назад

    Thank you for this explanation of Prefab Variants!

  • @johnstrunk226
    @johnstrunk226 2 года назад

    Thank you for this! So helpful

  • @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" RUclips 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!

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

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

  • @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 года назад

    🔥🔥🔥🔥

  • @486x
    @486x 3 года назад

    any video about HDRP shaders?

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

  • @blendersovann5123
    @blendersovann5123 3 года назад

    bro can you tell me about multiplayer in unity?

  • @MacTime89
    @MacTime89 3 года назад

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

  • @Mikelica69
    @Mikelica69 3 года назад +1

    Hi :]

  • @orlandomco
    @orlandomco 3 года назад

    What do you use to edit your videos?

    • @orlandomco
      @orlandomco 3 года назад

      @@iHeartGameDev All your videos look so professional

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