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
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
5 жыл бұрын
Thanks Oli, means a lot!
@lux3512
Жыл бұрын
I just discovered this video and I couldn't agree more
I love these animated types of tutorials for small subjects! Please do more!
I honestly thought you had hundreds of thousands of subs with the quality of this video. You definitely deserve it for this work. 👍
@LostRelicGames
5 жыл бұрын
Thanks Thomas, your comment means a lot! I'll keep at it, maybe one day :)
The work you put into the visuals for this video make a huuuge difference. Best prefab video. It's explained so well!
your tutorials are actually so nice, glad i found the channel :) PREFABCEPTION
Great video ! You talk clearly and direct to the point, and also you video editing skill seem really good!, thanks for sharing!
@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.
Really good tutorial! Shows everything clearly and beautifully. I knew this stuff but it was still interesting to watch the vid.
@LostRelicGames
4 жыл бұрын
I'm glad you liked it! Thanks heaps for the comment, I really appreciate it
Thanks for the great video! I look forward to viewing more of your videos :)
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
omgg , the effort you put in is extraordinary
Thank you so much for making this!
Great Tutorial With great explanation and video presentation...I learn a lot! Thanks for this!
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
4 жыл бұрын
So glad to hear it Marino. Come visit the discord sometime!
Great explanation and presentation.
Great video really explains the concept clearly!
Really amazing tutorial!
I was trying to put a prefab on screen, change it and make a prefab out of that. Now I know. Prefab unpack. Thanks.
Awesome! Such a nice explanation
Great explanation! Thanks!
Awesome video, your tutorials are the best on youtbe by far
@LostRelicGames
5 жыл бұрын
That's so kind of you man. I'll make sure to keep then coming and keep raising the production quality
What a great explanation man
great video! very helpful!
great guide. best tut channel to date.
Amazing !!! very comprehensive and insightful !!! thank you
@LostRelicGames
4 жыл бұрын
My pleasure man! Wishing you the best
Really great explanation
Amazing content! Keep up the good work and subs will come in no time!
@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!
Beautiful tutorial. Thank you so much!
@LostRelicGames
3 жыл бұрын
My pleasure, thanks for watching!
thanks for sharing this is very useful!
Quality stuff man! Very good job and your game also looks great!
@LostRelicGames
4 жыл бұрын
Thanks man, I appreciate your comment
@andrasilles8603
4 жыл бұрын
@@LostRelicGames The pleasure is mine!
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
4 жыл бұрын
My pleasure, glad I was able to bring some clarity! If you ever need to chat, come by the discord.
@redouanekachach9181
4 жыл бұрын
@@LostRelicGames Sure, I find it really helpful. Thank you very much :D
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.
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
4 жыл бұрын
Hey thanks man!
best prefabs explained ever, you the best uooo.
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!!
thanks! this was an awesome video
Amazing video, thaks!
Great video!
This guy rocks man!
great info !
Super informative video, would love one on how to do 2d cutscenes!
@LostRelicGames
5 жыл бұрын
Thanks for the comment and sub! Will add to my list!
Nice work 👍 keep going
@LostRelicGames
5 жыл бұрын
Thanks Thunder, I appreciate the support!
Well explain 🚀🚀
Nice 😊
Great video man, thank you! I'm subbing of course ;-)
Thanks for the nice clarification. I use unreal engine and Prefabs sound like blueprint actors in Unreal and Inheritance in C++
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
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! :)
Obrigado. Thank you.
You save my 1 week to figure it out why prefab exist, now I can sleep.
I don't understand how such a great video explaining prefabs beautifully has got 11 dislikes :(
Cool!
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.
Amazing videos! Melee combat in a future? Thanks!!
@LostRelicGames
5 жыл бұрын
Sergio! thanks for the comment, Melee combat sounds like a great topic, Will add it to my list!
A very good tutorial, but can you redo one with prefab variants?
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
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!
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 : /
I'm prefabs expert now
3:32 LOL happens with me all the time. 🤣🤣🤣🤣
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?
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
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.
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.
About losing the work done I recommend using a source control program
@LostRelicGames
5 жыл бұрын
I use Git. I did manage to salvage the files, still a pain in the bum ;)
@Gonzakoable
5 жыл бұрын
@@LostRelicGames yeah, I've been laughed at for using commits like a save button but it's just the safest
@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.
"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
Any specific reason you didn't include Prefab Variants in this?
@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.
what about animated prefabs?
Thank you Keanu Reaves
@Gupatik
2 жыл бұрын
bro u won the prize
Thanks for the info! PS: Wow you're gorgeous ~
🤓😀😀
brackeys looks a lil different in this vid o.0
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.
There is no god except Allah
@Gupatik
2 жыл бұрын
that's true, proud of you