You can use prefabsAn asset type that allows you to store a GameObject complete with components and properties. The prefab acts as a template from which you can create new object instances in the scene. More info
See in Glossary to instantiate complicated GameObjects or collections of GameObjects at runtime.
| Topic | Description |
|---|---|
| Introduction to instantiating prefabs | Introductory context and common scenarios in which instantiating prefabs is useful. |
| Build a structure with prefabs | Use prefabs to instantiate several copies of a block prefab to construct a wall. |
| Instantiating projectiles and explosions | Use prefabs to instantiate exploding projectiles. |