Unity Prefabs - The Complete Animated Guide | Game Dev Classroom

Ойындар

Say thanks by wishlisting my upcoming game Blood And Mead!
store.steampowered.com/app/10...
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.unity.com/packages...
How to make a 2d player controller:
• Game Dev Basics: Let's...
Join the community for help and game dev chatter!
discordapp.com/invite/yeTuU53
#gamedev #unity #lostrelicgames

Пікірлер: 97

  • @oliverjoyce3768
    @oliverjoyce37685 жыл бұрын

    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 жыл бұрын

    Thanks Oli, means a lot!

  • @lux3512

    @lux3512

    Жыл бұрын

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

  • @matthewcaydensi3266
    @matthewcaydensi32663 жыл бұрын

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

  • @thomasmastantuono7
    @thomasmastantuono75 жыл бұрын

    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 жыл бұрын

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

  • @DharmaPunkGames
    @DharmaPunkGames2 жыл бұрын

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

  • @yagizkaradagoglu8545
    @yagizkaradagoglu85454 жыл бұрын

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

  • @rubencarral2663
    @rubencarral26635 жыл бұрын

    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.

  • @makiroll6815
    @makiroll68154 жыл бұрын

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

  • @LostRelicGames

    @LostRelicGames

    4 жыл бұрын

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

  • @x1C4RN4GE
    @x1C4RN4GE3 жыл бұрын

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

  • @Taterzz
    @Taterzz2 жыл бұрын

    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

  • @harisaran1752
    @harisaran17524 жыл бұрын

    omgg , the effort you put in is extraordinary

  • @daffertube
    @daffertube2 жыл бұрын

    Thank you so much for making this!

  • @deliriousmansano3556
    @deliriousmansano35564 жыл бұрын

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

  • @marino1805
    @marino18054 жыл бұрын

    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

    4 жыл бұрын

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

  • @WardHolmquist
    @WardHolmquist3 жыл бұрын

    Great explanation and presentation.

  • @nicksweetmangame-art-co
    @nicksweetmangame-art-co4 жыл бұрын

    Great video really explains the concept clearly!

  • @NewtonJR1987
    @NewtonJR19873 жыл бұрын

    Really amazing tutorial!

  • @pnvgordinho
    @pnvgordinho2 жыл бұрын

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

  • @rendermanpro
    @rendermanpro3 жыл бұрын

    Awesome! Such a nice explanation

  • @doug2k1
    @doug2k14 жыл бұрын

    Great explanation! Thanks!

  • @user-cf9tl9lk5g
    @user-cf9tl9lk5g5 жыл бұрын

    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

  • @nimzsakrajz6101
    @nimzsakrajz61012 жыл бұрын

    What a great explanation man

  • @tylercrawley198
    @tylercrawley1984 жыл бұрын

    great video! very helpful!

  • @user-lw1jz5ru4p
    @user-lw1jz5ru4p3 жыл бұрын

    great guide. best tut channel to date.

  • @AlbertFarhat
    @AlbertFarhat4 жыл бұрын

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

  • @LostRelicGames

    @LostRelicGames

    4 жыл бұрын

    My pleasure man! Wishing you the best

  • @theobod
    @theobod3 жыл бұрын

    Really great explanation

  • @rashidfarhan6223
    @rashidfarhan62235 жыл бұрын

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

  • @LostRelicGames

    @LostRelicGames

    5 жыл бұрын

    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!

  • @tikareilu
    @tikareilu3 жыл бұрын

    Beautiful tutorial. Thank you so much!

  • @LostRelicGames

    @LostRelicGames

    3 жыл бұрын

    My pleasure, thanks for watching!

  • @yudingzhou8683
    @yudingzhou86834 жыл бұрын

    thanks for sharing this is very useful!

  • @andrasilles8603
    @andrasilles86034 жыл бұрын

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

  • @LostRelicGames

    @LostRelicGames

    4 жыл бұрын

    Thanks man, I appreciate your comment

  • @andrasilles8603

    @andrasilles8603

    4 жыл бұрын

    @@LostRelicGames The pleasure is mine!

  • @redouanekachach9181
    @redouanekachach91814 жыл бұрын

    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

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

    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.

  • @yusrighouse
    @yusrighouse4 жыл бұрын

    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!

  • @LostRelicGames

    @LostRelicGames

    4 жыл бұрын

    Hey thanks man!

  • @Jaqopx
    @Jaqopx4 жыл бұрын

    best prefabs explained ever, you the best uooo.

  • @CosminAntrenoruL
    @CosminAntrenoruL5 жыл бұрын

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

  • @matildavargasaignasse2743
    @matildavargasaignasse27434 жыл бұрын

    thanks! this was an awesome video

  • @sasapito
    @sasapito4 жыл бұрын

    Amazing video, thaks!

  • @miloszduda5692
    @miloszduda56924 жыл бұрын

    Great video!

  • @finiteindex7711
    @finiteindex77114 жыл бұрын

    This guy rocks man!

  • @josejimenez-wd5rw
    @josejimenez-wd5rw4 жыл бұрын

    great info !

  • @WooferRae
    @WooferRae5 жыл бұрын

    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!

  • @bikeshgupta4011
    @bikeshgupta40115 жыл бұрын

    Nice work 👍 keep going

  • @LostRelicGames

    @LostRelicGames

    5 жыл бұрын

    Thanks Thunder, I appreciate the support!

  • @DigitalHole
    @DigitalHole3 жыл бұрын

    Well explain 🚀🚀

  • @marcosrogerio_oficial
    @marcosrogerio_oficial3 жыл бұрын

    Nice 😊

  • @davidm.johnston8994
    @davidm.johnston89943 жыл бұрын

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

  • @m0rph3u5.
    @m0rph3u5.6 ай бұрын

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

  • @soggy_socks7184
    @soggy_socks71844 жыл бұрын

    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

    4 жыл бұрын

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

  • @pnvgordinho
    @pnvgordinho2 жыл бұрын

    Obrigado. Thank you.

  • @user-vc8kh4hq8w
    @user-vc8kh4hq8w3 жыл бұрын

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

  • @soumyajeet7809
    @soumyajeet78093 жыл бұрын

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

  • @nekit8742
    @nekit87425 жыл бұрын

    Cool!

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

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

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

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

  • @LostRelicGames
    @LostRelicGames5 жыл бұрын

    Support by wishlisting my upcoming game BloodAndMead, thanks friends! Wishlist: store.steampowered.com/app/1081830/Blood_And_Mead/ trailer: kzread.info/dash/bejne/pmie0NekpL3TZ6w.html

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

  • @scopestv3975
    @scopestv39754 ай бұрын

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

  • @gazisaad
    @gazisaad4 жыл бұрын

    I'm prefabs expert now

  • @nareshbisht7620
    @nareshbisht76202 жыл бұрын

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

  • @dalila2442
    @dalila24423 ай бұрын

    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?

  • @coffeediction
    @coffeediction5 жыл бұрын

    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.

  • @GaviTSRA
    @GaviTSRA4 жыл бұрын

    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.

  • @Gonzakoable
    @Gonzakoable5 жыл бұрын

    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 жыл бұрын

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

  • @trixcarnezh513
    @trixcarnezh5133 жыл бұрын

    "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

  • @hidsgi-games5369
    @hidsgi-games53695 жыл бұрын

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

  • @LostRelicGames

    @LostRelicGames

    5 жыл бұрын

    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.

  • @podjigateli
    @podjigateli2 жыл бұрын

    what about animated prefabs?

  • @christheone6493
    @christheone64932 жыл бұрын

    Thank you Keanu Reaves

  • @Gupatik

    @Gupatik

    2 жыл бұрын

    bro u won the prize

  • @BlueCatArt
    @BlueCatArt3 жыл бұрын

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

  • @sufianahmad7337
    @sufianahmad73374 жыл бұрын

    🤓😀😀

  • @ThatGuyDownInThe
    @ThatGuyDownInThe4 жыл бұрын

    brackeys looks a lil different in this vid o.0

  • @Rollbaa
    @Rollbaa11 ай бұрын

    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.

  • @zb_ily
    @zb_ily2 жыл бұрын

    There is no god except Allah

  • @Gupatik

    @Gupatik

    2 жыл бұрын

    that's true, proud of you

Келесі