InstantiatePrefab

InstantiatePrefab(Object)

public static Object InstantiatePrefab(Object prefab) ;

Description

Instantiate a prefab.

Parameters

Parameter Name Description
prefab Prefab

Returns

Instantiated object

Remarks

When called from the Unity Editor during editing, the prefab is placed in the scene as a linked instance.