Unity Prefabs - The Complete Animated Guide | Game Dev Classroom

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • Say thanks by wishlisting my upcoming game Blood And Mead!
    store.steampow...
    Unity Prefabs are a powerful yet often confusing system. In this tutorial I explain everything you need to know about using them. This is the first of a new game dev lecture / classroom series.
    Topics: workflow examples, nested prefabs, unpacking prefabs, editing master and instances.
    ● Ultimate 2D Car Game Kit for Unity:
    assetstore.uni...
    How to make a 2d player controller:
    • Game Dev Basics: Let's...
    Join the community for help and game dev chatter!
    discordapp.com...
    #gamedev #unity #lostrelicgames

КОМЕНТАРІ • 98

  • @oliverjoyce3768
    @oliverjoyce3768 5 років тому +62

    This is hands down the best tutorial on Prefabs I've ever seen. Far more engaging and easy to understand than the stuffy official Unity tutorials. Awesome job, John!

    • @LostRelicGames
      @LostRelicGames  5 років тому +1

      Thanks Oli, means a lot!

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

      I just discovered this video and I couldn't agree more

  • @thomasmastantuono7
    @thomasmastantuono7 5 років тому +27

    I honestly thought you had hundreds of thousands of subs with the quality of this video. You definitely deserve it for this work. 👍

    • @LostRelicGames
      @LostRelicGames  5 років тому +3

      Thanks Thomas, your comment means a lot! I'll keep at it, maybe one day :)

  • @uberdriver80085
    @uberdriver80085 9 днів тому

    Such an awesome tutorial even 5 years later.

  • @marino1805
    @marino1805 5 років тому +1

    Why am i more then a year in game developing and only now do i actually know what a prefab is and how to use them. This was more than amazing, thank you!

    • @LostRelicGames
      @LostRelicGames  5 років тому

      So glad to hear it Marino. Come visit the discord sometime!

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

    I was trying to put a prefab on screen, change it and make a prefab out of that. Now I know. Prefab unpack.
    Thanks.

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

    it took me 50 youtube videos and websites to learn that "unpack prefab" is a fucking option,
    why does no one (except you) make it easier to understand this.
    thank you.

  • @matthewcaydensi3266
    @matthewcaydensi3266 3 роки тому +3

    I love these animated types of tutorials for small subjects! Please do more!

  • @CosminAntrenoruL
    @CosminAntrenoruL 5 років тому +8

    Cool video.Nice editing i like it.I sugest to make the next video to be a tutorial for camera shake with cinemachine.It will be super helpfull!!

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

    it's 2 years late, but having an actual example demonstrate visually what they do was massively helpful compared to walls of text. thank you mysterious stranger

  • @yagizkaradagoglu8545
    @yagizkaradagoglu8545 5 років тому +1

    your tutorials are actually so nice, glad i found the channel :)
    PREFABCEPTION

  • @yusrighouse
    @yusrighouse 4 роки тому +1

    I saw this guys face and I thought whatever he's gonna say is probably going to be interesting. 1 min into the video I subscribed. Really great tutorial man. Outstanding work!

  • @rubencarral2663
    @rubencarral2663 5 років тому +2

    Great video ! You talk clearly and direct to the point, and also you video editing skill seem really good!, thanks for sharing!

    • @LostRelicGames
      @LostRelicGames  5 років тому

      I'm glad you enjoyed it! This is a new format I'm trying, so I'm glad it has been received well by you.

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

    The work you put into the visuals for this video make a huuuge difference. Best prefab video. It's explained so well!

  • @soggy_socks7184
    @soggy_socks7184 5 років тому +1

    I looked at the game you are making, blood and mead and saw that the ground under the grass was as clear as the trees or sky. from the perspective of someone that plays games I believe it would be aesthetically pleasing if you made the ground dark or fade to dark instead of clear. I loved the tutorial as I am someone just learning how to make games.

    • @LostRelicGames
      @LostRelicGames  5 років тому

      Thanks for the valuable feedback! You are correct, I've been experimenting with ways to address the issue. Doing so may really help bring focus more to the action in the game! :)

  • @makiroll6815
    @makiroll6815 5 років тому +1

    Really good tutorial! Shows everything clearly and beautifully. I knew this stuff but it was still interesting to watch the vid.

    • @LostRelicGames
      @LostRelicGames  5 років тому

      I'm glad you liked it! Thanks heaps for the comment, I really appreciate it

  • @WooferRae
    @WooferRae 5 років тому +3

    Super informative video, would love one on how to do 2d cutscenes!

    • @LostRelicGames
      @LostRelicGames  5 років тому

      Thanks for the comment and sub! Will add to my list!

  • @redouanekachach9181
    @redouanekachach9181 4 роки тому

    Very concise explanation. Thank you very much for the good work :) ... I've always seen them whiting Unity but didn't realize how are they created nor used. Now I have it crystal clear.

    • @LostRelicGames
      @LostRelicGames  4 роки тому

      My pleasure, glad I was able to bring some clarity! If you ever need to chat, come by the discord.

    • @redouanekachach9181
      @redouanekachach9181 4 роки тому

      @@LostRelicGames Sure, I find it really helpful. Thank you very much :D

  • @m0rph3u5.
    @m0rph3u5. 8 місяців тому

    Thanks for the nice clarification. I use unreal engine and Prefabs sound like blueprint actors in Unreal and Inheritance in C++

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

    Great explanation and presentation.

  • @user-cf9tl9lk5g
    @user-cf9tl9lk5g 5 років тому +1

    Awesome video, your tutorials are the best on youtbe by far

    • @LostRelicGames
      @LostRelicGames  5 років тому

      That's so kind of you man. I'll make sure to keep then coming and keep raising the production quality

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

    Thank you so much for making this!

  • @yudingzhou8683
    @yudingzhou8683 4 роки тому

    thanks for sharing this is very useful!

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

    Thanks for the great video! I look forward to viewing more of your videos :)

  • @user-lw1jz5ru4p
    @user-lw1jz5ru4p 3 роки тому

    great guide. best tut channel to date.

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

    What a great explanation man

  • @Jaqopx
    @Jaqopx 4 роки тому +1

    best prefabs explained ever, you the best uooo.

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

    Really great explanation

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

    Really amazing tutorial!

  • @harisaran1752
    @harisaran1752 4 роки тому

    omgg , the effort you put in is extraordinary

  • @andrasilles8603
    @andrasilles8603 4 роки тому

    Quality stuff man! Very good job and your game also looks great!

  • @AlbertFarhat
    @AlbertFarhat 4 роки тому

    Amazing !!! very comprehensive and insightful !!! thank you

  • @finiteindex7711
    @finiteindex7711 5 років тому

    This guy rocks man!

  • @tylercrawley198
    @tylercrawley198 4 роки тому

    great video! very helpful!

  • @deliriousmansano3556
    @deliriousmansano3556 4 роки тому

    Great Tutorial With great explanation and video presentation...I learn a lot! Thanks for this!

  • @user-vc8kh4hq8w
    @user-vc8kh4hq8w 3 роки тому +1

    You save my 1 week to figure it out why prefab exist, now I can sleep.

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

    Beautiful tutorial. Thank you so much!

  • @rashidfarhan6223
    @rashidfarhan6223 5 років тому

    Amazing content! Keep up the good work and subs will come in no time!

    • @LostRelicGames
      @LostRelicGames  5 років тому +1

      Thanks for the vote of confidence, i'll keep making them. just need to work out a better scheduling system between working on my own games! Thanks for joining the discord!

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

    This idea of using prefab unpacking it and recreating as a new prefab in just a few simple steps would never come up to my mind.

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

    Obrigado.
    Thank you.

  • @scopestv3975
    @scopestv3975 7 місяців тому

    3:55 Something thats really important that needs to be clarified is that the object thats pulled out of the Hierarchy and put into the assets apparently has to be a merged group. I had several bodyparts that I would highlight and pull into the assets but it wouldn't become a prefab until I created an empty in the Hierarchy and stuffed all the bodyparts into that empty THEN dragged that empty into the assets. One little hiccup like that stops the entire process : /

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

    Awesome! Such a nice explanation

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

    I don't understand how such a great video explaining prefabs beautifully has got 11 dislikes :(

  • @doug2k1
    @doug2k1 4 роки тому

    Great explanation! Thanks!

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

    Nice 😊

  • @nicksweetmangame-art-co
    @nicksweetmangame-art-co 4 роки тому

    Great video really explains the concept clearly!

  • @davidm.johnston8994
    @davidm.johnston8994 3 роки тому

    Great video man, thank you! I'm subbing of course ;-)

  • @bikeshgupta4011
    @bikeshgupta4011 5 років тому +2

    Nice work 👍 keep going

    • @LostRelicGames
      @LostRelicGames  5 років тому

      Thanks Thunder, I appreciate the support!

  • @Gonzakoable
    @Gonzakoable 5 років тому +2

    About losing the work done I recommend using a source control program

    • @LostRelicGames
      @LostRelicGames  5 років тому

      I use Git. I did manage to salvage the files, still a pain in the bum ;)

    • @Gonzakoable
      @Gonzakoable 5 років тому +2

      @@LostRelicGames yeah, I've been laughed at for using commits like a save button but it's just the safest

    • @LostRelicGames
      @LostRelicGames  5 років тому

      @@Gonzakoable totally! I'm at a few times a day at least! Nice way to isolate and record specific features, even small ones.

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

    Well explain 🚀🚀

  • @sasapito
    @sasapito 5 років тому

    Amazing video, thaks!

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

    3:32 LOL happens with me all the time. 🤣🤣🤣🤣

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

    A very good tutorial, but can you redo one with prefab variants?

  • @miloszduda5692
    @miloszduda5692 4 роки тому

    Great video!

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

    I was wondering, you were talking about 'applying to all' (with the rotating spike obstacle) and then probably saved it. Such that you had to do it all over. What would be a way of preventing this? Maybe working with git such that you can revert to older version? Or is there some smart prefab trick to overcome this? Thank you!

  • @josejimenez-wd5rw
    @josejimenez-wd5rw 4 роки тому

    great info !

  •  5 років тому

    Amazing videos! Melee combat in a future? Thanks!!

    • @LostRelicGames
      @LostRelicGames  5 років тому

      Sergio! thanks for the comment, Melee combat sounds like a great topic, Will add it to my list!

  • @gazisaad
    @gazisaad 4 роки тому

    I'm prefabs expert now

  • @LostRelicGames
    @LostRelicGames  5 років тому

    Support by wishlisting my upcoming game BloodAndMead, thanks friends!
    Wishlist: store.steampowered.com/app/1081830/Blood_And_Mead/
    trailer:
    ua-cam.com/video/t4jnuktZm7I/v-deo.html

  • @nekit8742
    @nekit8742 5 років тому

    Cool!

  • @GaviTSRA
    @GaviTSRA 4 роки тому

    Cool video and I learned much but I have a problem. I have a prefab of a part of my 2D game because it is randomly generated. In this prefab there are ground block grass blocks and coins. The coins have a script on them that if the player touches the coin adds one to the coin counter. The problem is that I can't assign the player in the script in the prefab. Sry if this is simple to solf but I'm new. I hope someone can help me.

  • @coffeediction
    @coffeediction 5 років тому +1

    Hey I just found your channel by youtube suggestions. Are you going to keep making new tutorials for unity?
    I have a few topics which i personally found arent really well explained or not much out there on youtube. If youre interested.
    I think with the way you explain things, you might be able to succeed at those unless youre doing exclusively Unity2D

    • @LostRelicGames
      @LostRelicGames  5 років тому

      Hi Alex! This channel is NEW so I will be making heaps more videos: Unity tutorials, both 2d and 3d, Game design philosophy, art creation and general Indie content. Basically anything an indie dev working with unity would find useful.

  • @dalila2442
    @dalila2442 6 місяців тому

    What a out the scripts on the prefabs? Do they "update" and all show the same value or are they different? How can I make them independently from each other prefab? Is thsi something prefab related or code related?

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

    "You are trying to replace or create a Prefab from the instance 'Cube' that references a missing script. This is not allowed.
    Please change the script or remove it from the GameObject" How to fix

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

    Thanks for the info!
    PS: Wow you're gorgeous ~

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

    what about animated prefabs?

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

    Thank you Keanu Reaves

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

      bro u won the prize

  • @hidsgi-games5369
    @hidsgi-games5369 5 років тому

    Any specific reason you didn't include Prefab Variants in this?

    • @LostRelicGames
      @LostRelicGames  5 років тому +1

      Hey, Thanks for the comment. I'm going to do a dedicated vid on Variants, I intended to touch on them in this one, but it seems they got lost in the process.

  • @ThatGuyDownInThe
    @ThatGuyDownInThe 4 роки тому

    brackeys looks a lil different in this vid o.0

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

    A more decent video. Will be better if you cut the unnecessary intro and cut straight to prefab in unity. Also, need to cut out all the parts where u mention your old games, not everyone knows you or any of your old game and we dont need to know those to understand what prefab is and how to create, edit and update them.

  • @sufianahmad7337
    @sufianahmad7337 4 роки тому

    🤓😀😀

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

    There is no god except Allah

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

      that's true, proud of you

  • @matildavargasaignasse2743
    @matildavargasaignasse2743 4 роки тому

    thanks! this was an awesome video