Unity C# - Creating and Instantiating Prefabs - Example 1 Tiling

Subscribers:
33,700
Published on ● Video Link: https://www.youtube.com/watch?v=LysOqmb-g0w



Duration: 3:39
3,410 views
0


How to create a prefab and how to instantiate it.

Instantiation can be used for many things such as projectiles and enemies. Often it is something that you want to appear on demand.

However, it can also be used to generate many instances of an object such as plants or rocks rather than manually placing each and every one.

In this case we will use Instantiate to create an entire forest from a single tree.







Tags:
C# (Programming Language)
Unity (Software)