Introduction to Unity for 3D Video Games
Course 6 - Prefabs and Artificial Intelligence: What is a prefab?
By Álvaro Arranz
About the video: What is a prefab?
Overview
“In this lesson you will learn to create copies of a prefab through the code. We will use the mouse so that when we press the left click, our character will shoot a projectile forward. ”
In this video lesson Álvaro Arranz addresses the topic: What is a prefab?, which is part of the Domestika online course: Course 6 - Prefabs and Artificial Intelligence. Learn to create your player character's enemies.
Partial transcription of the video
“In this lesson, we will see how a Prefab is created and how do we program the character to generate copies during the game of these prefabricated. Let's start. Previously we created a Prefab of the yellow item, one that we took with the intention of duplicating them and have them easily accessible from our project folder and in our Prefabs folder. What is Prefab? It is an object already configured with everything we've put into the scene. For example, if we want a player Prefab, who already has his camera, his Collider, your rigidbody, your scripts and we can move it, it even has a flashlig...”
This transcript is automatically generated, so it may contain mistakes.
Course summary for: Course 6 - Prefabs and Artificial Intelligence

Álvaro Arranz
By Álvaro Arranz
- 9 students
- 6 lessons (48m)
- 5 additional resources (5 files)
- Online and at your own pace
- Available on the app
- Audio: Spanish
- Spanish · English · Portuguese · German · French · Italian · Polish · Dutch
- Level: {beginner: "Beginner", intermediate: "Intermediate", advanced: "Advanced"}
- Unlimited access forever