Unity Prefabs - The Complete Animated Guide | Game Dev Classroom

Поделиться
HTML-код
  • Опубликовано: 29 сен 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

  • @יסעורשחף
    @יסעורשחף 3 года назад

    great guide. best tut channel to date.

  • @oliverjoyce3768
    @oliverjoyce3768 5 лет назад +63

    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 :)

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

  • @悠彌
    @悠彌 3 года назад +1

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

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

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

    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!

  • @dalila2442
    @dalila2442 7 месяцев назад

    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?

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

  • @m0rph3u5.
    @m0rph3u5. 9 месяцев назад

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

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

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

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

  • @davidm.johnston8994
    @davidm.johnston8994 3 года назад

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

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

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

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

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

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

  • @matthewcaydensi3266
    @matthewcaydensi3266 3 года назад +3

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

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

    Nice 😊

  • @yagizkaradagoglu8545
    @yagizkaradagoglu8545 5 лет назад +1

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

  • @uberdriver80085
    @uberdriver80085 Месяц назад

    Such an awesome tutorial even 5 years later.

  • @LostRelicGames
    @LostRelicGames  5 лет назад

    Support by wishlisting my upcoming game BloodAndMead, thanks friends!
    Wishlist: store.steampowered.com/app/1081830/Blood_And_Mead/
    trailer:
    ruclips.net/video/t4jnuktZm7I/видео.html

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

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

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

    Thank you so much for making this!

  • @ThatGuyDownInThe
    @ThatGuyDownInThe 4 года назад

    brackeys looks a lil different in this vid o.0

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

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

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

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

  • @yudingzhou8683
    @yudingzhou8683 4 года назад

    thanks for sharing this is very useful!

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

  • @Jaqopx
    @Jaqopx 4 года назад +1

    best prefabs explained ever, you the best uooo.

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

    what about animated prefabs?

  • @tylercrawley198
    @tylercrawley198 4 года назад

    great video! very helpful!

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

    Great explanation and presentation.

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

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

    Obrigado.
    Thank you.

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

    Really amazing tutorial!

  • @gazisaad
    @gazisaad 4 года назад

    I'm prefabs expert now

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

    What a great explanation man

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

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

    Really great explanation

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

    Well explain 🚀🚀

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

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

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

    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

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

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

    There is no god except Allah

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

      that's true, proud of you

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

    Awesome! Such a nice explanation

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

  • @deliriousmansano3556
    @deliriousmansano3556 4 года назад

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

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

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

  • @ちにたてとな
    @ちにたてとな 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

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

  • @sufianahmad7337
    @sufianahmad7337 4 года назад

    🤓😀😀

  • @bikeshgupta4011
    @bikeshgupta4011 5 лет назад +2

    Nice work 👍 keep going

  • @harisaran1752
    @harisaran1752 4 года назад

    omgg , the effort you put in is extraordinary

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

    Thank you Keanu Reaves

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

      bro u won the prize

  • @nicksweetmangame-art-co
    @nicksweetmangame-art-co 4 года назад

    Great video really explains the concept clearly!

  • @doug2k1
    @doug2k1 4 года назад

    Great explanation! Thanks!

  • @sasapito
    @sasapito 5 лет назад

    Amazing video, thaks!

  • @matildavargasaignasse2743
    @matildavargasaignasse2743 4 года назад

    thanks! this was an awesome video

  • @AlbertFarhat
    @AlbertFarhat 4 года назад

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

  • @finiteindex7711
    @finiteindex7711 5 лет назад

    This guy rocks man!

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

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

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

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

  • @miloszduda5692
    @miloszduda5692 4 года назад

    Great video!

  • @josejimenez-wd5rw
    @josejimenez-wd5rw 4 года назад

    great info !

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

    Beautiful tutorial. Thank you so much!

  • @nekit8742
    @nekit8742 5 лет назад

    Cool!

  • @andrasilles8603
    @andrasilles8603 4 года назад

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