Summary
This function can be used by other classes to instantiate a prefab over ASL.
- Namespace
- ASL
.Manipulation .Objects - Containing Type
- PrefabInstantiator
Syntax
public GameObject instantiatePrefab(GameObject prefab)
Parameters
| Name | Type | Description |
|---|---|---|
| prefab | GameObject | Reference to a prefab to be created |
Return Value
| Type | Description |
|---|---|
| GameObject | The instance of the prefab created |